PDA

View Full Version : Cpp Language



Pages : [1] 2 3

  1. What are the different types of Storage classes
  2. What are the different types of polymorphism
  3. Explain the need for "Virtual Destructor"
  4. What is the difference between "overloading" and "overriding"
  5. How to implement virtual functions in "C"
  6. What are the types of STL containers
  7. What is the Difference between "vector" and "array"
  8. What are inline functions
  9. What is "strstream"
  10. What is the Difference between a "assignment operator" and a "copy constructor"
  11. What is the Difference between "C structure" and "C++ structure"
  12. What is the output of printf("%d")
  13. Why do C++ compilers need name mangling
  14. What is the difference between a copy constructor and overloaded assignment operator
  15. What is Virtual Inheritance
  16. What are the differences between a struct in C and in C++
  17. What are the differences between public, private, and protected access
  18. What are the different operators in C++
  19. What is difference between initialization and assignment
  20. when can we use copy constructor
  21. What is the difference between method and message
  22. What is virtual constructor paradigm
  23. when can we use virtual destructor
  24. What is size of null class
  25. How the V-Table mechanism works
  26. What is the difference between Pointer and a Reference
  27. What happens if exception throws from object's constructor and object's destructor
  28. How to avoid a class from instantiation
  29. What is conversion constructor
  30. What is Name Decoration
  31. The "virtual" specifier in a member function enables which one of the following
  32. Which one of the following describes characteristics of "protected" inheritance
  33. Which of the Standard C++ casts can be used to perform a ?safe? downcast
  34. Find out the bug in this code,because of that this code will not compile
  35. what is the difference between c and c++
  36. Which uses less memory
  37. How long does this loop run
  38. What does the following do
  39. Evaluate the program
  40. What is Pure Virtual Function
  41. Why is it difficult to store linked list in an array
  42. How do you know that your class needs a virtual destructor
  43. The output of this two programs will be different why
  44. What is importance of data structure in a programming language
  45. What are advantages and disadvantages of Design patterns
  46. What the size of class EXP on 32 bit processor
  47. Why would you make a destructor virtual
  48. What is the Maximum Size that an Array can hold
  49. What is the difference between = and == in C
  50. Write a String class which has
  51. What is the Difference between "printf" and "sprintf"
  52. What is Memory Alignment
  53. Explain about profiling
  54. When to use Multiple Inheritance
  55. What is "map" in STL
  56. What is "mutable" keyword
  57. How many bit combinations are there in a byte
  58. In C++ cout is
  59. What is the wrong statement about c++
  60. what is pulse code modulation
  61. What is the difference between "calloc" and "malloc"
  62. What is a "RTTI"
  63. How can you force instantiation of a template
  64. What is the use of static functions
  65. How to stop conversions among objects
  66. When volatile can be used
  67. What is the difference between static global and global
  68. How do you link a C++ program to C functions
  69. How Virtual functions call up is maintained
  70. What is the output of this program
  71. Explain "passing by value", "passing by pointer" and "passing by reference"
  72. What are the techniques you use for debugging
  73. How to implement flags
  74. What about Virtual Destructor
  75. What is problem with Runtime type identification
  76. What are advantages of C++ when comparing with C
  77. How to avoid changing constant values
  78. How const functions will be treated by compiler
  79. When copy constructor can be used
  80. Can inline functions have a recursion
  81. What is the difference between shift left and shift right
  82. What issue do auto_ptr objects address
  83. What is the order of initialization for data
  84. How the compilers arrange the various sections in the executable image
  85. What is a constructor initialize list and when we use it
  86. What are the advantages and disadvantages of using inline and const
  87. How to construct virtual constructor
  88. How to construct muliton object
  89. what are raw sockets, where they are efficient
  90. What happens if an exception is throws from an object's constructor and destructor
  91. Can we declare destructor as static? Explain
  92. Explain working of printf
  93. How to write multithreaded applications using C++
  94. Why preincrement operator is faster than postincrement
  95. How to reduce a final size of executable
  96. What is the difference between dlearations int* x and int *x
  97. How can you find the nodes with repetitive data in a linked list
  98. explain the term "resource acquisition is initialization"
  99. What is the differnce between const char * andchar * const
  100. Write any small program that will compile in "C" but not in "C++"
  101. How is an Abstract Base Class(ABC) related to an "Abstract Data Type" (ADT)
  102. Explain the ISA and HASA class relationships
  103. How do we open binary files
  104. Can we generate a C++ source code from the binary file
  105. What is the difference between c and c++
  106. What is the difference between delete and delete [ ]
  107. How can we made digital calendar by using c++ class
  108. What is the difference between composition and inheritance
  109. What is void main mean
  110. What is abstracter in c++
  111. What is a friend function? its advantage
  112. What are the disadvantages of copy constructor
  113. What Is The Use of Virtual Destructer
  114. Can the structures contain the constructor? If yes, then how
  115. What is difference between copy constructor and constructor
  116. What is importance of const. pointer in copy constructor
  117. What happens to the member pointers when an exception occures in constructor, while
  118. What is virtual constructors/destructors
  119. What do you mean by pure virtual functions
  120. What is name space
  121. What is RTTI
  122. What do you mean by inline function
  123. What is virtual class and friend class
  124. What is function overloading and operator overloading
  125. What is the difference between realloc() and free()
  126. What do you mean by binding of data and functions
  127. What is friend function
  128. What is public, protected, private
  129. What is polymorphism? Explain with an example
  130. What is a class
  131. What is the difference between structures and classes in C++
  132. What is the difference between class and structure
  133. What are virtual functions
  134. What is a scope resolution operator
  135. What do you mean by inheritance
  136. What is the difference between an object and a class
  137. What is difference between constructor and destructor
  138. What is the difference between operator new and the new operator
  139. How can you force instantiation of a template
  140. What is the output of print f ("%d")
  141. What is the difference between "C structure" and "C++ structure"
  142. What is the difference between "overloading" and "overriding"
  143. Explain the need for "Virtual Destructor"
  144. What are the different types of polymorphism
  145. What are Virtual Functions? How to implement virtual functions in "C"
  146. What is the Basic nature of "cin" and "cout" and what concept or principle we are
  147. Can you explain the term "resource acquisition is initialization''
  148. What are the different types of Storage classes
  149. Can we have "Virtual Constructors"
  150. What are the types of STL containers
  151. What is the difference between "vector" and "array"
  152. How to write a program such that it will delete itself after execution
  153. Explain "passing by value", "passing by pointer" and "passing by reference"
  154. Can we generate a C++ source code from the binary file
  155. What are inline functions
  156. What is "strstream”
  157. Have you heard of "mutable" keyword
  158. What is a "RTTI"
  159. What is the need /use of function overloading
  160. What is the use of virtual destructor
  161. What is the difference between c&c++
  162. Why array index starts from 0[zero] only
  163. What is operator overloading?what r the advantages of operator overloading
  164. What is memory leaking in c++
  165. Write a program on inline function.And demonstrate the program with inline function
  166. What is the difference between inline function and function
  167. Is there any way to write a class such that no class can be inherited from it
  168. We can overload assignment operator as a normal function.But we can not overload
  169. What is the difference between a "assignment operator" and a "copy constructor"
  170. In c++ have a default constructor
  171. Why can't one make an object of abstract class?Give compiler view of statement
  172. Why Pointers are not used in C Language. What are the main differences between C
  173. How can double dimensional arrays be dynamically initialized in C++
  174. what are auto static variables and auto extern variables
  175. How can we define a dynamic memory allocation in UNIX operating system
  176. What is the difference between macro and inline()
  177. Can main() be overridden
  178. Why always array starts with index 0
  179. What is the difference between wait() and delay()
  180. Can we take "main function" as of type float,char etc
  181. What is function overriding
  182. What is the difference between Object and Instance
  183. What is the use of volatile keyword? Give me one example
  184. Is it possible to inherit the private member in derived class
  185. Can you allocate the memory using malloc() in C and deal locate the same memory using
  186. How do you write a program which produces its own source code as its output
  187. Define copy constructor? What is the use of copy constructor
  188. What is a memory leak? How can we avoid it
  189. What is the difference between Function and Member function
  190. What are the things contains in .obj file
  191. What is difference between follow in initialization. int iVar1; int iVar2 = int()
  192. Can destructor be private
  193. Class A() { }; int main() { A a; } Whether there will be a default contractor provide
  194. What will happen if I say delete this
  195. Why can't we overload the size of, :?, :: ., .* operators in c++
  196. What is an algorithm (in terms of the STL/C++ standard library)
  197. What is the difference between realloc() and free()
  198. What was C++ initially called
  199. Who has developed C++ and when it has been developed
  200. What is the single line comment used in C++
  201. What is the default return type of main () in C++
  202. What is the identifier used in C++ similar to print f () in C
  203. What is the identifier used in C++ similar to scan f () in C
  204. In which header file are C out and C in found
  205. Can you read multiple words using “cin”
  206. What are the sections of a C++ program
  207. What is the difference between C & C++ based on name limit
  208. List new keywords added to C++
  209. What is the difference between the array declarations in C & C++? Give an example
  210. What is the name of the operator “<<”
  211. What is the name of the operator “>>”
  212. What do you mean by cascading of operators? Give an example
  213. What is the number of bytes occupied by “size of (‘a’)”
  214. What is the advantage of C++ in case of variable declaration
  215. What is the difference between static and global variable
  216. Define #include
  217. What is the use of #define
  218. What is dynamic initialization
  219. What is a reference variable and what is its use
  220. Write the syntax of using reference variable
  221. What is a qualifier
  222. List few new operators used in C++
  223. What are the memory management operators used in C++
  224. What is the linefeed operator used in C++
  225. Give an example for explicit type conversion of variables used in C++
  226. List the control structures in C++
  227. List the different forms of If statement
  228. Write the syntax for simple If
  229. Write the syntax for if..else
  230. What is the multiway decision statement in C++
  231. Write the syntax for switch statement
  232. What are the types of loops in C++
  233. Name the entry controlled loop/s
  234. Write the syntax for do…while
  235. Write the syntax for while statement
  236. Write the syntax of for statement
  237. What is a control statement
  238. What is control variable
  239. What is conditional operator? What is its use
  240. What are the categories of relational operators
  241. Name the equality and relational operators
  242. What is the use of scope resolution operator
  243. What is the use of new operator
  244. Define volatile
  245. What are the manipulators
  246. What is integral widening conversion
  247. What is implicit conversion
  248. What is the difference between “constant pointer” and “pointer to a constant”
  249. What is the use of canst_cast operator
  250. Write the syntax for const_cast operator