C Programming Questions
Q1: Which of the following is a valid variable name in C?
- 1variable
- _varName
- int
- float&value
Q2: What is the purpose of the 'return 0;' statement in the main function?
Q3: Write a C program to check if a number is even or odd using if-else.
Q4: Which operator is used to access the value at the address stored in a pointer?
-&
-*
- ->
-.
Q5: Explain the difference between '++i' and 'i++' in C.