Home

char *s[10] defines an array of ------------------------

A. pointers to strings

B. string to pointer

C. both

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

You can do it
  1. The identifier argv[] is a pointer to an array of strings.
  2. Expression 4**3 evaluates to 64.
  3. # define PI = 8;' is the correct declaration of macros.
  4. Which of the following correctly describes C++ language?
  5. Which of the following is not an infinite loop
  6. fopen() function returns a pointer to the open file.
  7. The output of the following code is: #define sqr(x= x*x) main() {int a = 10, b = 5; printf("%d, %d",…
  8. unsigned' is a valid variable name.
  9. What is right way to Initialization array?
  10. The output of the following code is: main() {int a[10], i; for (i = 1; I <= 0; i++) {scanf("%d",…
  11. Single operations involving entire arrays are permitted in C.
  12. The output of the following code is: main() { int k, num = 30; k = (num > 5 ? (num <= 10 ? 100…
  13. && and & operators have the same meaning.
  14. do-while loop is useful when we want the statements within the loop must be executed
  15. Which of the STL containers store the elements contiguously (in adjecent memory locations)?
  16. The main() function can be called from any other function.
  17. Operation between an integer and float always yields a float result.
  18. The expression "b = 3 ^ 2;" will evaluate b = 9.
  19. void' is a datatype.
  20. In the expression - 'x + y + 3z =20'
  21. The array 'char name[10] can consist of a maximum of 9 characters.
  22. Which of the following is not true about preprocessor directives
  23. If 'str' is a string of 7 characters, the statement printf("%4s", str); will display ------characters.
  24. Which of the following is an example of compounded assignment statement?
  25. How many times the following loop will execute?for (a = 0; a < 4; a++)printf("hello");
  26. A multidimensional array A[10][9] can store-------- number of elements
  27. gets() and puts() are unformatted I/O functions.
  28. What is the right way to access value of structure variable book{ price, page }?
  29. The output of the following code is: void main() {int a; int &b = a;a=100; printf("b=%d\ta=%d",…
  30. Which of the following expressions is wrong