Puzzle Corner
Sign In
Home
Feedback
Blog
Resources
About
Starred
Add Question
All (696)
coding (266)
c++ (157)
algorithms (151)
puzzle (134)
CS Fundamentals (83)
oop (55)
arrays (45)
internet (40)
string (34)
math (31)
databases (28)
system (26)
probability (26)
networking (25)
linkedlist (24)
binarytrees (24)
tree (22)
bit manipulation (19)
sorting (11)
stack (10)
bst (9)
java (8)
xml (8)
sql (7)
next in series (7)
traversal (6)
graph (4)
debugging (4)
lateral thinking (4)
palindrome (4)
mysql (4)
prime (4)
general (4)
unix (3)
CGI (3)
duplication (3)
threading (3)
random (3)
search (3)
fibonacci (3)
encryption (3)
joins (3)
hash (3)
queue (3)
asm (3)
design patterns (2)
next »
Random
Name mangling
[
2007-02-26 23:42:19
]   
Why do C++ compilers need name mangling?
link
Author
:
prem
Tags
:
coding
|
c++
|
oop
Answer
Code debugging
[
2007-02-26 23:42:19
]   
Can you think of a situation where your program would crash without reaching the breakpoint which you set at the beginning of main()?
link
Author
:
prem
Tags
:
coding
|
c++
|
oop
Answer
yet another C++ question
[
2007-02-26 23:42:19
]   
Suppose that objects A, B, and C are instances of class MyClass (MyClass A, B, C;). How should you design an assignment operator so that the "A=B=C;" statement would be allowed by a compiler but "(A=B)=C;" would not be allowed by a compiler?
link
Author
:
prem
Tags
:
coding
|
c++
|
oop
1 Comment
Answer
What is virtual inheritance?
[
2007-02-26 23:42:20
]   
What is virtual inheritance?
link
Author
:
prem
Tags
:
coding
|
c++
|
oop
Answer
C++ initialization
[
2007-02-26 23:42:19
]   
Name two cases where you MUST use initialization list as opposed to assignment in constructors.
link
Author
:
prem
Tags
:
coding
|
c++
|
oop
3 Comments
Answer
Copy constructor
[
2007-02-26 23:42:19
]   
Why do you have to provide your own copy constructor and assignment operator for classes with dynamically allocated memory?
link
Author
:
prem
Tags
:
coding
|
c++
|
oop
Answer
Differences between a C++ struct and C++ class?
[
2007-02-26 23:42:20
]   
What are the differences between a C++ struct and C++ class?
What are the differences between a C struct and C++ class?
link
Author
:
prem
Tags
:
coding
|
c++
|
oop
1 Comment
Answer
Access the static member of a class
[
2007-02-26 23:42:19
]   
How can you access the static member of a class?
link
Author
:
prem
Tags
:
coding
|
c++
|
oop
Answer
namespace
[
2007-02-26 23:42:20
]   
What problem does the namespace feature solve?
link
Author
:
prem
Tags
:
coding
|
c++
|
oop
Answer
Overload a function
[
2007-02-26 23:42:19
]   
Can you overload a function based only on whether a parameter is a value or a reference?
link
Author
:
prem
Tags
:
coding
|
c++
|
oop
2 Comments
Answer
Virtual destructor
[
2007-02-26 23:42:20
]   
Explain the need for “Virtual Destructorâ€ÂÂ.
link
Author
:
prem
Tags
:
coding
|
c++
|
oop
Answer
Pointers & references
[
2007-02-26 23:42:20
]   
What is the difference between a pointer and a reference? When would you use a pointer? A reference?
link
Author
:
prem
Tags
:
coding
|
c++
|
oop
Answer
next »
Created by
Premchand Jayamohan