1. What is a variable in C?
2. Explain the difference between local and global variables.
3. What is the purpose of the main function in C?
4. How do you declare an integer variable in C?
5. What is the significance of the #include directive?
6. Explain the use of semicolons in C.
7. What are data types in C? List some common ones.
8. How do you create a constant variable in C?
9. What is the difference between ++i and i++?
10. Explain the use of comments in C code.
11. What is the role of the return statement in a function?
12. How do you perform arithmetic operations in C?
13. What are the different types of operators in C?
14. How do you read user input in C?
15. What is the purpose of the scanf function?
16. How do you output data to the console in C?
17. Explain the use of the printf function.
18. What is an array in C?
19. How do you declare an array of integers in C?
20. What is the difference between a one-dimensional and a two-dimensional array?
21. How do you access elements in an array?
22. Explain how strings are handled in C.
23. What is a string literal in C?
24. How do you concatenate strings in C?
25. What are functions in C?
26. How do you define a function in C?
27. What is function overloading?
28. Explain the difference between function declaration and function definition.
29. What are the types of functions in C?
30. How do you pass arguments to a function?
31. What is a pointer in C?
32. How do you declare a pointer variable?
33. Explain the concept of pointer arithmetic.
34. What is the difference between a pointer and an array?
35. How do you use pointers to access array elements?
36. What is a structure in C?
37. How do you define a structure?
38. What is the purpose of the typedef keyword?
39. Explain the concept of a union in C.
40. What is memory management in C?