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

A. 4

B. 7

C. 6

D. 0

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

You can do it
  1. Which of the following keyword supports dynamic method resolution?
  2. A pointer is an indication of the variable to be accessed next.
  3. The output of the following code is: main() {int a = 5, b = 6; (a == b? printf("%d", a)); }
  4. The function fopen() on failure returns---------------------.
  5. All macro substitutions in a program are done before compilation of the program.
  6. Which options shows the correct hierarchy of arithmetic operators
  7. When is std::bad_alloc exception thrown?
  8. continue statement is used
  9. A continue statement causes execution to skip to
  10. An array declared as A[100][100] can hold a maximum of 100 elements.
  11. Operation between an integer and float always yields a float result.
  12. C is a ___ language
  13. struct stud{int roll;char name[20];float marks;} *p;What will be the byte size of p?
  14. ------ is the ternary operator
  15. emp name' is a valid variable name.
  16. Which one of the following is not a valid reserved keyword in C++
  17. The expression "b = 3 ^ 2;" will evaluate b = 9.
  18. unsigned char has a range from 0 to ------------
  19. Structures within structures cannot be created.
  20. The expression 'int j = 6 + 3 % -9;' evaluates to -1.
  21. The array 'char name[10] can consist of a maximum of 9 characters.
  22. A C variable cannot start with
  23. What will be output if you will compile and execute the following c code? #include int main(){ int i=320;…
  24. Which escape character can be used to beep from speaker in C?
  25. The -------------------------- loop executes at least once.
  26. A multidimensional array A[10][9] can store-------- number of elements
  27. = and = = have the same operation.
  28. The output of the following code is: main() { int sub[50]; for(i=0; i<=48;i++) { sub[i]=i; printf("%d",…
  29. What will be output if you will compile and execute the following c code?#include #define x 5+2 int…
  30. The identifier argv[] is a pointer to an array of strings.