what are the interview question's in the language c
Answers were Sorted based on User's Feedback
Interview questions in C would be :
- what are pointers?
- what do the .h files mean?
my fav ques - which i will always ask is :
** what is the differance between a[0] and *a.
| Is This Answer Correct ? | 2 Yes | 1 No |
Answer / mallik
a[0] represents only that value at 0 location,but *a
represents the address of that variable stored
| Is This Answer Correct ? | 0 Yes | 0 No |
f(x,y,z) { y = y+1; z = z+x; } main() { int a,b; a = 2 b = 2; f(a+b,a,a); print a; } what is the value of 'a' printed
What is the collection of communication lines and routers called?
Can we write a program without main() function?
a=(1,2,3); b=1,2,3; c=1,(2,3); d=(1,2),3; what's the value of 'a','b','c','d'
Is stack a keyword in c?
What is a memory leak? How to avoid it?
What will the preprocessor do for a program?
how to find the given number is prime or not?
what is a NULL Pointer? Whether it is same as an uninitialized pointer?
how many keywords do C compile?
7 Answers Microsoft, Practical Viva Questions,
what are the files which are automatically opened when a c file is executed?
Explain what are binary trees?