#1. Which of the following loop is guaranteed to execute at least once?
#2. What is the correct way to declare a constant in C?
#3. What is the output of the following C code? #include int main() { int x = 10; printf("%d", x++); return 0; }
#4. Which of the following is a correct syntax to declare a pointer in C?
#5. Which of the following functions is used to dynamically allocate memory in C?
#6. What will be the output of the following code? #include int main() { int a = 5, b = 2; float result; result = a / b; printf("%.2f", result); return 0; }
#7. What will happen if you try to compile and run the following code? #include int main() { int a = 5; if(a = 0) printf("Hello"); else printf("World"); return 0; }
#8. What is the data type of the value returned by the sizeof operator?
#9. Which of the following is used to get the remainder of a division in C?