Home

The output of the following code is:
main() 
{
int a = 0;
for (; i = 0; i++)
printf("%d", a);
}

A. 0

B. Nothing will be displayed

C. Infinite loop

D. None of the above

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

You can do it
  1. && and & operators have the same meaning.
  2. Which of the following expressions is wrong
  3. Which of the following is allowed in a C Arithmetic instruction
  4. Which of the following is not true about preprocessor directives
  5. The output of the following code is: int f(int a, int b); void main() {int a = 12, b=154; printf("%d",…
  6. C is a ___ language
  7. printf("%d", sizeof('2')); will print 2.
  8. strcat() function ----------------------- two strings.
  9. Which of the following is not a preprocessor directive
  10. What's wrong? for (int k = 2, k <=12, k++)
  11. The output of the following code is: main() {int a = 0; for (; i = 0; i++) printf("%d", a); }
  12. All elements of a structure are allocated contiguous memory locations.
  13. The expression 'int j = 6 + 3 % -9;' evaluates to -1.
  14. unsigned' is a valid variable name.
  15. Which options shows the correct hierarchy of arithmetic operators
  16. Each pass through a loop is called a/an
  17. What does STL stand for?
  18. The output of the following code is: #define sqr(x= x*x) main() {int a = 10, b = 5; printf("%d, %d",…
  19. Single operations involving entire arrays are permitted in C.
  20. Which of the following correctly describes C++ language?
  21. How many times the following loop will execute?for (a = 0; a < 4; a++)printf("hello");
  22. Which classes allow primitive types to be accessed as objects?
  23. The output of the following code is: main() { int sub[50]; for(i=0; i<=48;i++) { sub[i]=i; printf("%d",…
  24. void' is a datatype.
  25. The output of the following code is: void main(){int z, a = 5, b = 3; z = a * 2 + 26 % 3;printf("%d",…
  26. fopen() function returns a pointer to the open file.
  27. Identify the wrong statement
  28. The expression (i + j)++ is illegal.
  29. Right shifting an operand 1bit is equivalent to multiplying it by 2.
  30. Which of the following is invalid?