c programming interview question
Here are some basic C interview questions that you might encounter:
- What is C programming language?
- What is the difference between C and C++?
- What is a pointer in C?
- What is the difference between a pointer and an array?
- What is a structure in C?
- What is the difference between a structure and a union?
- What is a function in C?
- What is recursion in C?
- What is the difference between pass by reference and pass by value?
- What is a static variable in C?
- What is a file in C?
- What is the difference between text file and binary file?
- What is a header file in C?
- What is the difference between #include <file> and #include "file"?
- What is a preprocessor in C?
- What is the purpose of the main() function in C?
- What is the format specifier for a float data type?
- What is the difference between ++i and i++ in C?
- What is the difference between == and = in C?
- What is a NULL pointer in C?
These are just a few examples of the types of questions you may encounter in a basic C interview. It's important to have a solid understanding of the fundamentals of the language, as well as be able to demonstrate your ability to write and debug simple programs in C.