Home

The printf() function retunes which value when an error occurs?

A. Positive value

B. Zero

C. Negative value

D. None of these

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

You can do it
  1. strcat() function ----------------------- two strings.
  2. do-while loop is useful when we want the statements within the loop must be executed
  3. Which of the following is not a standard exception built in C++.
  4. = and = = have the same operation.
  5. Operation between an integer and float always yields a float result.
  6. When a user defined function is defined in program, then it has to be called at least once from the…
  7. gets() and puts() are unformatted I/O functions.
  8. Which of the following is the most preferred way of throwing and handling exceptions?
  9. Left shift operator rotates the bits on the left and places them to the right.
  10. The printf() function retunes which value when an error occurs?
  11. The output of the following code is: main() {int a[10], i; for (i = 1; I <= 0; i++) {scanf("%d",…
  12. Which of the STL containers store the elements contiguously (in adjecent memory locations)?
  13. What is Keywords?
  14. All elements of a structure are allocated contiguous memory locations.
  15. printf() is not a library function.
  16. The main() function can be called from any other function.
  17. The size of signed integer is ------ bytes.
  18. The output of the following code is: main() {int a = 5, b = 6; (a == b? printf("%d", a)); }
  19. A recursive function calls itself again and again.
  20. The output of the following code is: void main(){int z, a = 5, b = 3; z = a * 2 + 26 % 3;printf("%d",…
  21. Which classes allow primitive types to be accessed as objects?
  22. emp name' is a valid variable name.
  23. How many times the following loop will execute?for (a = 0; a < 4; a++)printf("hello");
  24. Which of the following is a valid destructor of the class name "Country"
  25. Every if statement can be converted into an equivalent switch statement.
  26. The expression "b = 3 ^ 2;" will evaluate b = 9.
  27. Which options shows the correct hierarchy of arithmetic operators
  28. The same variable names of automatic type can be used in different functions without any conflict.
  29. C is a ___ language
  30. Bitwise operators can operate upon?