© 2014 Firstsoft Technologies (P) Limited. login
Hi 'Guest'
Home SiteMap Contact Us Disclaimer
enggedu

Home Placements Interview Questions C and C++ Interview Questions And Answers C and C++ Interview Questions On Functions ▼

C and C++ Interview Questions On Functions

1. what is the purpose of main( ) function?
2. Why should I prototype a function?
3. What is the difference between run time binding and compile time binding?
4. Differentiate between the message and method.
5. What do you mean by Stack unwinding?
6. Define precondition and post-condition to a member function
7. What is name mangling?
8. Describe the main characteristics of static functions
9. Will the inline function be compiled as the inline function always? Justify
10. How do I write code that reads data at memory location specified by segment and offset?
11. What is Pure Virtual Function? Why and when it is used ?
12. How Virtual functions call up is maintained ?
13. Can inline functions have a recursion?
14. How do you link a C++ program to C functions?
15. What is the difference between goto and longjmp() and setjmp()?
16. What is the quickest searching method to use?
17. What is the difference between "calloc(...)" and "malloc(...)"?
18. What is the difference between printf(...) and sprintf(...)?
19. What is the difference between a string copy and a memory copy ? When should each be used?
20. Is it better to use a macro or a function?
21. What are the advantages of the functions?
22. Is using exit() the same as using return?
SLogix Student Projects
bottom