Thursday, 14 April 2016

c interview questions

C interview questions and answers


C interview questions and answers for freshers. It is basic c language technical frequently asked interview questions and answers. It includes data structures, pointers interview questions and answers for experienced
Interview questions and answer of C with explanation for fresher

1
Write a c program to print Hello world without using any semicolon.
Answer

2
Swap two variables without using third variable.
Answer

3
What is dangling pointer in c? 
Answer

4
What is wild pointer in c?  
Answer

5
What are merits and demerits of array in c?
Answer

6
Do you know memory representation of int a = 7 ?   
Answer

7
What is and why array in c?
Answer

8
Why we use do-while loop in c? Also tell any properties which you know?  
Answer

9
What is the meaning of prototype of a function?   
Answer

10
Write a c program to modify the constant variable in c?
Answer

11
What is pointer to a function?  
Answer

12
Write a c program to find size of structure without using sizeof operator? 
Answer

13
What is NULL pointer?  
Answer

14
What is difference between pass by value and pass by reference?  
Answer

15
What is size of void pointer?  
Answer

16
What is difference between uninitialized pointer and null pointer?  
Answer

17
Can you read complex pointer declaration?
Answer

18
What are the parameter passing conventions in c?  
Answer

19
What is the far pointer in c?  
Answer

20
What is a cyclic property of data type in c? Explain with any example. 
Answer