Home

If 'str' is a string of 7 characters, the statement printf("%4s", str); will display ------characters.

A. 4

B. 7

C. 6

D. 0

You can do it
  1. What's wrong? while( (i < 10) && (i > 24))
  2. What does STL stand for?
  3. /* The C language./* is a procedural language .*/*/The above statement is valid.
  4. What is right way to Initialization array?
  5. The-------------------- statement helps immediate exit from any part of the loop
  6. What is the difference between overloaded functions and overridden functions?
  7. Identify the wrong statement
  8. It is necessary to initialize the array at the time of declaration.
  9. Which header file is essential for using strcmp() function?
  10. The output of the following code is: void main(){int z, a = 5, b = 3; z = a * 2 + 26 % 3;printf("%d",…
  11. Single operations involving entire arrays are permitted in C.
  12. fopen() function returns a pointer to the open file.
  13. C programs are converted into machine language with the help of
  14. The -------------------------- loop executes at least once.
  15. An array elements are always stored in _________ memory locations.
  16. printf() is not a library function.
  17. printf("%d", sizeof('2')); will print 2.
  18. The size of signed integer is ------ bytes.
  19. Each pass through a loop is called a/an
  20. Which among the following is a unconditional control structure
  21. Only one break can be used in one loop.
  22. The output of the following code is: void main(){ int a = 20;printf("%d\t%d", ++a, a);}
  23. The value of an enumerated datatype can be read using scanf() function.
  24. The statement "for (i = 0, j = 2; j <= 10; j++)" is a valid statement in 'C'.
  25. Which of the following is not true about preprocessor directives
  26. The output of the following code is: main() {int a[10], i; for (i = 1; I <= 0; i++) {scanf("%d",…
  27. char *s[10] defines an array of ------------------------
  28. A function to be called must be ended with a----------------
  29. What is the right way to access value of structure variable book{ price, page }?
  30. Every if statement can be converted into an equivalent switch statement.