Home

The output of the following code is:
main() 
{
void msg()
{
printf("HELLO WORLD");
}
}

A. HELLO WORLD

B. Error

C. None of the above

D. Null

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

You can do it
  1. What does STL stand for?
  2. The output of the following code is: int f(int a, int b); void main() {int a = 12, b=154; printf("%d",…
  3. Which of the following is invalid?
  4. The printf() function retunes which value when an error occurs?
  5. The expression (i + j)++ is illegal.
  6. The expression "int i = j = k = 0;" is invalid.
  7. The function fopen() on failure returns---------------------.
  8. If the class name is X, what is the type of its “this” pointer (in a nonstatic, non-const…
  9. What is Keywords?
  10. The output of the following code is: main() {int a = 5, b = 6; (a == b? printf("%d", a)); }
  11. printf("%d", sizeof('2')); will print 2.
  12. Operation between an integer and float always yields a float result.
  13. What is C Tokens?
  14. The output of the following code is: void main() {int a = 0; while (a<=50) for(;;) if(++a % 50==0)…
  15. The contents of a file opened in 'r+' mode cannot be changed.
  16. # define PI = 8;' is the correct declaration of macros.
  17. && and & operators have the same meaning.
  18. Which classes allow primitive types to be accessed as objects?
  19. Character data types cannot be declared as unsigned.
  20. Which of the following is not recommended in a header file?
  21. Every if statement can be converted into an equivalent switch statement.
  22. fprintf()function can be used to write into console.
  23. The output of the following code is: void main() {int a; int &b = a;a=100; printf("b=%d\ta=%d",…
  24. Right shifting an operand 1bit is equivalent to multiplying it by 2.
  25. The output of the following code is: main() { int k, num = 30; k = (num > 5 ? (num <= 10 ? 100…
  26. fopen() function returns a pointer to the open file.
  27. unsigned char has a range from 0 to ------------
  28. The identifier argv[] is a pointer to an array of strings.
  29. The array 'char name[10] can consist of a maximum of 9 characters.
  30. C programs are converted into machine language with the help of