Home

How many times the following loop will execute?
for (a = 0; a < 4; a++)
printf("hello
");

A. 3

B. 4

C. 5

D. infinite

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

You can do it
  1. printf() is not a library function.
  2. The output of the following code is: void main() { static int a = 1, b, c;if (a>=2) b=2; c=3;printf("%d\t%d",…
  3. An array declared as A[100][100] can hold a maximum of 100 elements.
  4. What is C Tokens?
  5. unsigned' is a valid variable name.
  6. && and & operators have the same meaning.
  7. Left shift operator rotates the bits on the left and places them to the right.
  8. Which of the following language is predecessor to C Programming Language?
  9. The output of the following code is: main() { void msg() { printf("HELLO WORLD"); } }
  10. The expression "b = 3 ^ 2;" will evaluate b = 9.
  11. emp name' is a valid variable name.
  12. Nested macros are allowed.
  13. What will be output if you will compile and execute the following c code?#include #define x 5+2 int…
  14. p++ executes faster than p + 1.
  15. A function to be called must be ended with a----------------
  16. The value of an enumerated datatype can be read using scanf() function.
  17. Which classes allow primitive types to be accessed as objects?
  18. All macro substitutions in a program are done before compilation of the program.
  19. What does STL stand for?
  20. The output of the following code is: void main() {int a = 1, b=2; int *ip; ip=&a; b=*ip; printf("%d",…
  21. Which one of the following is not a fundamental data type in C++
  22. When a user defined function is defined in program, then it has to be called at least once from the…
  23. Which of the following is allowed in a C Arithmetic instruction
  24. Each pass through a loop is called a/an
  25. Which of the following keyword supports dynamic method resolution?
  26. What will be output if you will compile and execute the following c code?#include int main(){ float…
  27. The identifier argv[] is a pointer to an array of strings.
  28. /* The C language./* is a procedural language .*/*/The above statement is valid.
  29. What would be the output of the following program?int x=40;main(){int x=20;printf("%d",x);}
  30. The output of the following code is: main() { int k, num = 30; k = (num > 5 ? (num <= 10 ? 100…