|
1. What is the output of printf("%d")
2. What will happen if I say delete this
3. Difference between "C structure"
and "C++ structure".
4. Diffrence between a "assignment operator"
and a "copy constructor"
5. What is the difference between "overloading"
and "overridding"?
6. Explain the need for "Virtual Destructor".
7. Can we have "Virtual Constructors"?
8. What are the different types of polymorphism?
9. What are Virtual Functions? How to implement
virtual functions in "C"
10. What are the different types of Storage classes?
11. What is Namespace?
12. What are the types of STL containers?.
13. Difference between "vector" and
"array"?
14. How to write a program such that it will delete
itself after exectution?
15. Can we generate a C++ source code from the
binary file?
16. What are inline functions?
17. What is "strstream" ?
18. Explain "passing by value", "passing
by pointer" and "passing by reference"
19. Have you heard of "mutable" keyword?
20. What is a "RTTI"?
21. Is there something that I can do in C and
not in C++?
22. What is the difference between "calloc"
and "malloc"?
23. What will happen if I allocate memory using
"new" and free it using "free"
or allocate sing "calloc" and free it
using "delete"?
24. Difference between "printf" and
"sprintf".
25. What is "map" in STL?
26. When shall I use Multiple Inheritance?
27. Explain working of printf.
28. Talk sometiming about profiling?
29. How many lines of code you have written for
a single program?
30. How to write Multithreaded applications using
C++?
31. Write any small program that will compile
in "C" but not in "C++"
32. What is Memory Alignment?
33. Why preincrement operator is faster than postincrement?
34. What are the techniques you use for debugging?
35. How to reduce a final size of executable?
36. Give 2 examples of a code optimization.
->How do you write a program which produces
its own source code as its output?
->How can I find the day of the week given
the date?
->Why doesn't C have nested functions?
->What is the most efficient way to count the
number of bits which are set in a value?
->How can I convert integers to binary or hexadecimal?
->How can I call a function, given its name
as a string?
->How do I access command-line arguments?
->How can I return multiple values from a function?
->How can I invoke another program from within
a C program?
->How can I access memory located at a certain
address?
->How can I allocate arrays or structures bigger
than 64K?
->How can I find out how much memory is available?
->How can I read a directory in a C program?
->How can I increase the allowable number of
simultaneously open files?
->What's wrong with the call "fopen("c:\newdir\file.dat",
"r")"?
|