Author Topic: C/C++ Interview Questions  (Read 5275 times)

fine project uploader

  • Posts: 2534
    • View Profile
C/C++ Interview Questions
« on: January 15, 2017, 12:00:00 AM »
C/C++ Interview Questions
[19660]
1. What is the output of printf("%d")
2. Difference between "C structure" and "C++ structure".
3. Difference between a "assignment operator" and a "copy constructor"
4. What is the difference between "overloading" and "overriding"?
5. Explain the need for "Virtual Destructor".
6. Can we have "Virtual Constructors"?
7. What are the different types of polymorphism?
8. What are Virtual Functions? How to implement virtual functions in "C"
9. What are the different types of Storage classes?
10. What is Namespace?
11. What are the types of STL containers?.
12. Difference between "vector" and "array"?
13. How to write a program such that it will delete itself after execution?
14. Can we generate a C++ source code from the binary file?
15. What are inline functions?
16. Talk something about profiling?
17. How many lines of code you have written for a single program?
18. What is "strstream" ?
19. How to write Multithreaded applications using C++?
20. Explain "passing by value", "passing by pointer" and "passing by reference"
21. Write any small program that will compile in "C" but not in "C++"
22. Have you heard of "mutable" keyword?
23. What is a "RTTI"?
24. Is there something that I can do in C and not in C++?
25. Why preincrement operator is faster than postincrement?
26. What is the difference between "calloc" and "malloc"?
27. What will happen if I allocate memory using "new" and free it using "free" or
allocate sing "calloc" and free it using "delete"?
28. What is Memory Alignment?
29. Explain working of printf.
30. Difference between "printf" and "sprintf".
31. What is "map" in STL?
32. When shall I use Multiple Inheritance?
33. What are the techniques you use for debugging?
34. How to reduce a final of executable?
35. Give 2 examples of a code optimization.

Seminar Topics & Projects ppt pdf report downloads

C/C++ Interview Questions
« on: January 15, 2017, 12:00:00 AM »

RE: C/C++ Interview Questions
« Reply #1 on: January 15, 2017, 12:00:00 AM »
:P:P:P:P
Quote from: 'fine project uploader' pid='79970' dateline='133713684'

C/C++ Interview Questions
[19660]
1. What is the output of printf("%d")
2. Difference between "C structure" and "C++ structure".
3. Difference between a "assignment operator" and a "copy constructor"
4. What is the difference between "overloading" and "overriding"?
5. Explain the need for "Virtual Destructor".
6. Can we have "Virtual Constructors"?
7. What are the different types of polymorphism?
8. What are Virtual Functions? How to implement virtual functions in "C"
9. What are the different types of Storage classes?
10. What is Namespace?
11. What are the types of STL containers?.
12. Difference between "vector" and "array"?
13. How to write a program such that it will delete itself after execution?
14. Can we generate a C++ source code from the binary file?
15. What are inline functions?
16. Talk something about profiling?
17. How many lines of code you have written for a single program?
18. What is "strstream" ?
19. How to write Multithreaded applications using C++?
20. Explain "passing by value", "passing by pointer" and "passing by reference"
21. Write any small program that will compile in "C" but not in "C++"
22. Have you heard of "mutable" keyword?
23. What is a "RTTI"?
24. Is there something that I can do in C and not in C++?
25. Why preincrement operator is faster than postincrement?
26. What is the difference between "calloc" and "malloc"?
27. What will happen if I allocate memory using "new" and free it using "free" or
allocate sing "calloc" and free it using "delete"?
28. What is Memory Alignment?
29. Explain working of printf.
30. Difference between "printf" and "sprintf".
31. What is "map" in STL?
32. When shall I use Multiple Inheritance?
33. What are the techniques you use for debugging?
34. How to reduce a final of executable?
35. Give 2 examples of a code optimization.

Seminar Topics & Projects ppt pdf report downloads

RE: C/C++ Interview Questions
« Reply #1 on: January 15, 2017, 12:00:00 AM »

kaushikr

  • Posts: 0
    • View Profile
RE: C/C++ Interview Questions
« Reply #2 on: January 15, 2017, 12:00:00 AM »
Quote from: '[email protected]' pid='164415' dateline='1392815609'

:P:P:P:P
Quote from: 'fine project uploader' pid='79970' dateline='133713684'

C/C++ Interview Questions
[19660]
1. What is the output of printf("%d")
2. Difference between "C structure" and "C++ structure".
3. Difference between a "assignment operator" and a "copy constructor"
4. What is the difference between "overloading" and "overriding"?
5. Explain the need for "Virtual Destructor".
6. Can we have "Virtual Constructors"?
7. What are the different types of polymorphism?
8. What are Virtual Functions? How to implement virtual functions in "C"
9. What are the different types of Storage classes?
10. What is Namespace?
11. What are the types of STL containers?.
12. Difference between "vector" and "array"?
13. How to write a program such that it will delete itself after execution?
14. Can we generate a C++ source code from the binary file?
15. What are inline functions?
16. Talk something about profiling?
17. How many lines of code you have written for a single program?
18. What is "strstream" ?
19. How to write Multithreaded applications using C++?
20. Explain "passing by value", "passing by pointer" and "passing by reference"
21. Write any small program that will compile in "C" but not in "C++"
22. Have you heard of "mutable" keyword?
23. What is a "RTTI"?
24. Is there something that I can do in C and not in C++?
25. Why preincrement operator is faster than postincrement?
26. What is the difference between "calloc" and "malloc"?
27. What will happen if I allocate memory using "new" and free it using "free" or
allocate sing "calloc" and free it using "delete"?
28. What is Memory Alignment?
29. Explain working of printf.
30. Difference between "printf" and "sprintf".
31. What is "map" in STL?
32. When shall I use Multiple Inheritance?
33. What are the techniques you use for debugging?
34. How to reduce a final of executable?
35. Give 2 examples of a code optimization.



Tags:
 
TCS PLACEMENT PAPER (MICROPROCESSOR) MICROPROCESSOR QUESTIONS

Started by fine project uploaderBoard Question papers

Replies: 0
Views: 810
Last post January 15, 2017, 12:00:00 AM
by fine project uploader
CS1011 Data Warehouse and Data Mining Questions

Started by engineering project helperBoard Question papers

Replies: 0
Views: 1049
Last post January 15, 2017, 12:00:00 AM
by engineering project helper
Slip form and jump form formwrok questions

Started by Espie79Board Technical

Replies: 0
Views: 1593
Last post January 15, 2017, 12:00:00 AM
by Espie79
engineering physics physics lab viva questions answers

Started by GuestBoard Seminar Requests

Replies: 2
Views: 239
Last post January 15, 2017, 12:00:00 AM
by askguru100
STRESS STRAIN AND DEFORMATION OF SOLIDS, STATES OF STRESS QUESTIONS

Started by engineering project helperBoard Physics Seminar Topics

Replies: 0
Views: 653
Last post January 15, 2017, 12:00:00 AM
by engineering project helper
assignment questions and answers of data warehousing and data mining doc

Started by GuestBoard Industrial Visit Report

Replies: 2
Views: 288
Last post January 15, 2017, 12:00:00 AM
by Guest
Web-based "Questions-Bank" System to Improve E-Learning Education in Qatari School

Started by project source code chekerBoard Computer Science Seminar Topics

Replies: 0
Views: 402
Last post January 15, 2017, 12:00:00 AM
by project source code cheker
principles of marketing philip kotler 13th edition pdf multiple choice questions

Started by GuestBoard Projects and Seminars Request

Replies: 6
Views: 9143
Last post January 15, 2017, 12:00:00 AM
by Guest
brake test on three phase slip ring induction motor viva questions

Started by GuestBoard Projects and Seminars Request

Replies: 1
Views: 1454
Last post January 15, 2017, 12:00:00 AM
by project helper
BASIC ELECTRONICS MAHESH PRASANNA K., ECE, AIET Page 1 OBJECTIVE TYPE QUESTIONS

Started by project helperBoard Question papers

Replies: 0
Views: 1263
Last post January 15, 2017, 12:00:00 AM
by project helper