Home

Which of the following is not true about preprocessor directives

A. They begin with a hash symbol

B. They are processed by a preprocessor

C. They form an integral part of the code

D. They have to end with a semi colon

You can do it
  1. It is necessary to initialize the array at the time of declaration.
  2. Which escape character can be used to beep from speaker in C?
  3. The default initial value of automatic storage class is 0.
  4. Which header file is essential for using strcmp() function?
  5. Union is used to hold different data at different time.
  6. A declaration float a, b; occupies ___ of memory
  7. All elements of a structure are allocated contiguous memory locations.
  8. All macro substitutions in a program are done before compilation of the program.
  9. The output of the following code is: main() { void msg() { printf("HELLO WORLD"); } }
  10. What will be output if you will compile and execute the following c code? #include int main(){ int i=320;…
  11. Every if statement can be converted into an equivalent switch statement.
  12. printf() is not a library function.
  13. The expression "b = 3 ^ 2;" will evaluate b = 9.
  14. Which of the following is not an infinite loop
  15. The -------------------------- loop executes at least once.
  16. Which of the following correctly describes C++ language?
  17. Variables declared as register storage type gets stored in CPU registers.
  18. Expression 4**3 evaluates to 64.
  19. static variable will not always have assigned value.
  20. fprintf()function can be used to write into console.
  21. Which of the following is an example of compounded assignment statement?
  22. When a user defined function is defined in program, then it has to be called at least once from the…
  23. Which of the following is allowed in a C Arithmetic instruction
  24. p++ executes faster than p + 1.
  25. The output of the following code is: void main() { static int a = 1, b, c;if (a>=2) b=2; c=3;printf("%d\t%d",…
  26. How many times the following loop will execute?for (a = 0; a < 4; a++)printf("hello");
  27. enum helps to create user defined datatype.
  28. printf("%d", sizeof('2')); will print 2.
  29. The output of the following code is: void main() {float a;int x = 10, y = 3; a = x / y;printf("%f",…
  30. Right shifting an operand 1bit is equivalent to multiplying it by 2.