Wednesday 21 November 2012

C Language Interview Question And Answer



1.    What is C language ?
2.    What does static variable mean?
3.    What are the different storage classes in C ?
4.    What is hashing ?
5.    Can static variables be declared in a header file ?
6.    Can a variable be both constant and volatile ?
7.    Can include files be nested?
8.    What is a null pointer ?
9.    What is the output of printf("%d") ?
10. What is the difference between calloc() and malloc() ?
11. What is the difference between printf() and sprintf() ?
12. How to reduce a final size of executable ?
13. Can you tell me how to check whether a linked list is circular ?
14. Advantages of a macro over a function ?
15. What is the difference between strings and character arrays ?
16. Write down the equivalent pointer expression for referring the same element a[i][j][k][l] ?

0 comments:

Post a Comment