Home

The output of the following code is:
main() 
{
unsigned int a = 10;
while (a>=10)
{
int a; a-- ;
}
printf("%i", a);
}

A. Infinite loop

B. 9

C. 0

D. None

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. static variable will not always have assigned value.
  3. The same variable names of automatic type can be used in different functions without any conflict.
  4. Which of the following is a valid destructor of the class name "Country"
  5. The output of the following code is: void main() {int a = 0; while (a<=50) for(;;) if(++a % 50==0)…
  6. What is the right way to access value of structure variable book{ price, page }?
  7. What will be output if you will compile and execute the following c code? #include int main(){ int i=320;…
  8. /* The C language./* is a procedural language .*/*/The above statement is valid.
  9. What will be output if you will compile and execute the following c code?#include int main(){ char c=125;…
  10. Which options shows the correct hierarchy of arithmetic operators
  11. The size of signed integer is ------ bytes.
  12. Left shift operator rotates the bits on the left and places them to the right.
  13. A recursive function calls itself again and again.
  14. The output of the following code is: int f(int a, int b); void main() {int a = 12, b=154; printf("%d",…
  15. The value of an enumerated datatype can be read using scanf() function.
  16. A continue statement causes execution to skip to
  17. Only one break can be used in one loop.
  18. All macro substitutions in a program are done before compilation of the program.
  19. Which of the following is not an infinite loop
  20. Which one of the following is not a fundamental data type in C++
  21. The expression "int i = j = k = 0;" is invalid.
  22. fopen() function returns a pointer to the open file.
  23. The output of the following code is: void main() {float a;int x = 10, y = 3; a = x / y;printf("%f",…
  24. Operation between an integer and float always yields a float result.
  25. The output of the following code is: #define sqr(x= x*x) main() {int a = 10, b = 5; printf("%d, %d",…
  26. The output of the following code is: void main() {int a = 1, b=2; int *ip; ip=&a; b=*ip; printf("%d",…
  27. Single operations involving entire arrays are permitted in C.
  28. The main() function can be called from any other function.
  29. What's wrong? while( (i < 10) && (i > 24))
  30. && and & operators have the same meaning.