Home

The output of the following code is:
void main()
{
int a = 20;
printf("%d\t%d
", ++a, a);
}

A. 21 21

B. 20 21

C. 21 20

D. 20 20

You can do it
  1. A recursive function calls itself again and again.
  2. unsigned' is a valid variable name.
  3. C is a ___ language
  4. Expression 4**3 evaluates to 64.
  5. Which one of the following is not a fundamental data type in C++
  6. Single operations involving entire arrays are permitted in C.
  7. The output of the following code is: void main() {float a;int x = 10, y = 3; a = x / y;printf("%f",…
  8. What will be output if you will compile and execute the following c code? #include int main(){ int i=320;…
  9. Which of the following shows the correct hierarchy of arithmetic operations in C
  10. What will be output if you will compile and execute the following c code?#include int main(){ float…
  11. The array 'char name[10] can consist of a maximum of 9 characters.
  12. The same variable names of automatic type can be used in different functions without any conflict.
  13. fprintf()function can be used to write into console.
  14. perror( ) function used to ?
  15. A function to be called must be ended with a----------------
  16. The output of the following code is: main() { unsigned int a = 10; while (a>=10) { int a; a-- ; }…
  17. The output of the following code is: main() {int a = 0; for (; i = 0; i++) printf("%d", a); }
  18. The statement "for (i = 0, j = 2; j <= 10; j++)" is a valid statement in 'C'.
  19. && and & operators have the same meaning.
  20. What's wrong? for (int k = 2, k <=12, k++)
  21. The output of the following code is: void main(){ int a = 20;printf("%d\t%d", ++a, a);}
  22. = and = = have the same operation.
  23. Which of the following keyword supports dynamic method resolution?
  24. Which classes allow primitive types to be accessed as objects?
  25. Which of the following is a valid destructor of the class name "Country"
  26. What will be output if you will compile and execute the following c code?#include #define x 5+2 int…
  27. The output of the following code is: void main() {int a; int &b = a;a=100; printf("b=%d\ta=%d",…
  28. A pointer is an indication of the variable to be accessed next.
  29. The expression (i + j)++ is illegal.
  30. struct stud{int roll;char name[20];float marks;} *p;What will be the byte size of p?