Home C++
C++ interview questions
Filter     Display # 
# Article Title Hits
1 What is a dangling pointer? 186
2 What is an incomplete type? 173
3 What is an Iterator class ? 138
4 What is the use of ‘using’ declaration. ? 152
5 Define namespace. 159
6 When does a name clash occur? 206
7 Differentiate between a template class and class template. 206
8 What is an orthogonal base class? 187
9 What are proxy objects? 186
10 What are the conditions that have to be met for a condition to be an invariant of the class? 145
11 Define precondition and post-condition to a member function. 149
12 What do you mean by Stack unwinding? 150
13 What is class invariant? 150
14 What is a Null object? 132
15 What is an adaptor class or Wrapper class? 120
16 Differentiate between the message and method. 115
17 How do you find out if a linked-list has an end? (i.e. the list is not a cycle) 122
18 What is polymorphism? 144
19 How do you write a function that can reverse a linked-list? 122
20 What is a container class? What are the types of container classes? 112
21 What is a node class? 141
22 Detemine the code below, tell me exectly how many times is the operation sum++ performed ? for ( i = 0; i 100 - i; j–) sum++; 121
23 In the derived class, which data member of the base class are visible? 107
24 What is the two main roles of Operating System? 113
25 How do you traverse a Btree in Backward in-order? 107
26 Write a Struct Time where integer m, h, s are its members 102
27 Suppose a 3-bit sequence number is used in the selective-reject ARQ, what is the maximum number of frames that could be transmitted at a time? 94
28 Describe Stacks and name a couple of places where stacks are useful. 100
29 Describe one simple rehashing policy. 95
30 Write the psuedo code for the Depth first Search. 97
31 What are the advantages and disadvantages of B-star trees over Binary trees? 109
32 What is the difference between a Java application and a Java applet? 88
33 What is the software Life-Cycle? 82
34 Write a fucntion that will reverse a string. 96
35 What is the difference between Stack and Queue? 98
36 Name some major differences between C++ and Java? 93
37 Is C an object-oriented language? 95
38 What is semaphore? 101
39 What is semaphore? 114
40 Write a C++ program for prime number genration? 116
41 Write a c++ program for Fibonacci series? 120
42 Write a C++ program to check whether a String is Palindrome or not? 112
43 Write a c++ program for matrix multiplication? 98
44 Write a c++ program for Factorial? 109
45 Explain Decoupling? 125
46 Explain Polymorphism? 106
47 Explain Encapsulation? 103
48 Explain abstraction? 87
49 Explain inheritance? 100
50 Explain message passing? 153
51 What do you mean by method? 105
52 What do you mean by instance? 98
53 What is object? 100
54 What is class? 109
55 What are 4 important concepts of Object oriented programming? 111
56 What is object oriented programming? 107
57 What is STL(standard library)? 114
58 History of C++? 101
59 What is C++? 90
 

Related links

Related Links:

Related Images

Related Links: