Home

Which of the following is not a preprocessor directive

A. #if

B. #elseif

C. #undef

D. #pragma

Please do not use chat terms. Example: avoid using "grt" instead of "great".

You can do it
  1. The output of the following code is: main() {int a = 0; for (; i = 0; i++) printf("%d", a); }
  2. the value *(&i) is same as printing the value of address of i.
  3. Union is used to hold different data at different time.
  4. The output of the following code is: void main() {int a = 1, b=2; int *ip; ip=&a; b=*ip; printf("%d",…
  5. The expression "int i = j = k = 0;" is invalid.
  6. unsigned' is a valid variable name.
  7. Nested macros are allowed.
  8. Which header file is essential for using strcmp() function?
  9. The same variable names of automatic type can be used in different functions without any conflict.
  10. Which one of the following is not a fundamental data type in C++
  11. ------ is the ternary operator
  12. It is necessary to initialize the array at the time of declaration.
  13. The main() function can be called from any other function.
  14. What's wrong? while( (i < 10) && (i > 24))
  15. The output of the following code is:void change (char *k) {k="Hello";return; } main() { char *ch = "World";;change(ch);…
  16. The array 'char name[10] can consist of a maximum of 9 characters.
  17. A recursive function calls itself again and again.
  18. Operation between an integer and float always yields a float result.
  19. What is right way to Initialization array?
  20. Which of the following is not a standard exception built in C++.
  21. What's wrong? (x = 4 && y = 5) ? (a = 5) ; (b = 6);
  22. The output of the following code is: void main() {float a;int x = 10, y = 3; a = x / y;printf("%f",…
  23. The function fopen() on failure returns---------------------.
  24. The output of the following code is: main() {int a[10], i; for (i = 1; I <= 0; i++) {scanf("%d",…
  25. A multidimensional array A[10][9] can store-------- number of elements
  26. char *s[10] defines an array of ------------------------
  27. For 16bit compiler allowable range for integer constants is ______ ?
  28. The output of the following code is: void main() {int a; int &b = a;a=100; printf("b=%d\ta=%d",…
  29. The statement "for (i = 0, j = 2; j <= 10; j++)" is a valid statement in 'C'.
  30. The output of the following code is: main() { int k, num = 30; k = (num > 5 ? (num <= 10 ? 100…