0% found this document useful (0 votes)
3 views1 page

C Programming Interview Questions

The document lists common C interview questions covering key concepts such as call by value vs. call by reference, pointers, memory allocation functions (malloc() vs. calloc()), storage classes, dangling pointers, structures and unions, header files, loop differences, recursion with an example, and multidimensional array declarations. These questions are essential for assessing a candidate's understanding of the C programming language. The content is aimed at preparing individuals for technical interviews focused on C programming.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views1 page

C Programming Interview Questions

The document lists common C interview questions covering key concepts such as call by value vs. call by reference, pointers, memory allocation functions (malloc() vs. calloc()), storage classes, dangling pointers, structures and unions, header files, loop differences, recursion with an example, and multidimensional array declarations. These questions are essential for assessing a candidate's understanding of the C programming language. The content is aimed at preparing individuals for technical interviews focused on C programming.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

C Interview Questions

1. What is the difference between call by value and call by reference in C?

2. Explain the use of pointers in C.

3. What is the difference between malloc() and calloc()?

4. What are storage classes in C?

5. What is a dangling pointer?

6. Explain structure and union with examples.

7. What are header files in C?

8. Difference between while and do-while loop.

9. What is recursion? Write a program for factorial using recursion.

10. How is a multidimensional array declared in C?

You might also like