Home

The output of the following code is:
void main() 
{
int a = 0;
while (a<=50) for(;;) if(++a % 50==0) break;
printf("a = %d", a);
}

A. a = 100

B. a = 50

C. compilation error

D. runtime error

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

You can do it
  1. Bitwise operators can operate upon?
  2. The same variable names of automatic type can be used in different functions without any conflict.
  3. The output of the following code is: void main() {int a; int &b = a;a=100; printf("b=%d\ta=%d",…
  4. unsigned' is a valid variable name.
  5. emp name' is a valid variable name.
  6. The identifier argv[] is a pointer to an array of strings.
  7. void' is a datatype.
  8. Identify the wrong statement
  9. Which header file is essential for using strcmp() function?
  10. enum helps to create user defined datatype.
  11. Operation between an integer and float always yields a float result.
  12. What will be output if you will compile and execute the following c code? #include int main(){ int i=320;…
  13. The expression 'int j = 6 + 3 % -9;' evaluates to -1.
  14. An array declared as A[100][100] can hold a maximum of 100 elements.
  15. A C variable cannot start with
  16. Which of the following correctly describes C++ language?
  17. The output of the following code is: main() { int k, num = 30; k = (num > 5 ? (num <= 10 ? 100…
  18. = and = = have the same operation.
  19. Which among the following is a unconditional control structure
  20. Which of the following is an example of compounded assignment statement?
  21. unsigned char has a range from 0 to ------------
  22. The array 'char name[10] can consist of a maximum of 9 characters.
  23. The size of signed integer is ------ bytes.
  24. The expression (i + j)++ is illegal.
  25. What is right way to Initialization array?
  26. All elements of a structure are allocated contiguous memory locations.
  27. What does STL stand for?
  28. In the expression - 'x + y + 3z =20'
  29. Which of the following is not true about preprocessor directives
  30. /* The C language./* is a procedural language .*/*/The above statement is valid.