C_Programming_Interview_QA
C_Programming_Interview_QA
1. What is C language?
C is a procedural programming language developed in the 1970s by Dennis Ritchie. It is known for
2. Features of C:
- Portable
3. Compiler vs Interpreter:
4. Structure of a C program:
#include <stdio.h>
int main() {
printf("Hello!");
return 0;
5. Keywords in C:
7. Data Types:
- int: 2 or 4 bytes
- float: 4 bytes
- double: 8 bytes
- char: 1 byte
8. Operators:
9. '=' vs '==':
10. sizeof:
12. Functions:
14. Recursion:
15. Arrays:
16. Strings:
18. Pointers: