Home

The output of the following code is:
main() 
{
int a = 5, b = 6;
(a == b? printf("%d", a));
}

A. 0

B. 5

C. Error

D. None of the above

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

You can do it
  1. Which of the following is a valid destructor of the class name "Country"
  2. How many times the following loop will execute?for (a = 0; a < 4; a++)printf("hello");
  3. The value of an enumerated datatype can be read using scanf() function.
  4. unsigned char has a range from 0 to ------------
  5. A multidimensional array A[10][9] can store-------- number of elements
  6. strcat() function ----------------------- two strings.
  7. An array elements are always stored in _________ memory locations.
  8. enum helps to create user defined datatype.
  9. continue statement is used
  10. All elements of a structure are allocated contiguous memory locations.
  11. Expression 4**3 evaluates to 64.
  12. The main() function can be called from any other function.
  13. What would be the output of the following program?int x=40;main(){int x=20;printf("%d",x);}
  14. Which one of the following is not a valid reserved keyword in C++
  15. do-while loop is useful when we want the statements within the loop must be executed
  16. static variable will not always have assigned value.
  17. For 16bit compiler allowable range for integer constants is ______ ?
  18. The output of the following code is: void main() {float a;int x = 10, y = 3; a = x / y;printf("%f",…
  19. The array 'char name[10] can consist of a maximum of 9 characters.
  20. Character data types cannot be declared as unsigned.
  21. void' is a datatype.
  22. A continue statement causes execution to skip to
  23. Which options shows the correct hierarchy of arithmetic operators
  24. emp name' is a valid variable name.
  25. Which of the following shows the correct hierarchy of arithmetic operations in C
  26. Which among the following is a unconditional control structure
  27. There are total ------ numbers of operators in 'C'.
  28. Operation between an integer and float always yields a float result.
  29. It is necessary to initialize the array at the time of declaration.
  30. No commas or blanks are allowed within an integer or a real constant.