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

Warning: include(../../../google_160x600.php) [function.include]: failed to open stream: No such file or directory in /home/content/22/4814422/html/placements/interview_questions/C_and_CPP/C_and_CPP_interview_questions_on_functions.php on line 52

Warning: include() [function.include]: Failed opening '../../../google_160x600.php' for inclusion (include_path='.:/usr/local/php5_3/lib/php') in /home/content/22/4814422/html/placements/interview_questions/C_and_CPP/C_and_CPP_interview_questions_on_functions.php on line 52

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