Home

What is the right way to access value of structure variable book{ price, page }?

A. printf("%d%d", book.price, book.page);

B. printf("%d%d", price.book, page.book);

C. printf("%d%d"< price::book< page::book);

D. printf("%d%d", price>book, page>book);

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

You can do it
  1. The output of the following code is: main() { xyz: goto abc;printf("Hello"); abc: printf("World");goto…
  2. Which of the following is not a preprocessor directive
  3. If 'str' is a string of 7 characters, the statement printf("%4s", str); will display ------characters.
  4. The output of the following code is: void main() {float a;int x = 10, y = 3; a = x / y;printf("%f",…
  5. Which of the following is not recommended in a header file?
  6. C programs are converted into machine language with the help of
  7. The output of the following code is: void main() {int a = 0; while (a<=50) for(;;) if(++a % 50==0)…
  8. It is necessary to initialize the array at the time of declaration.
  9. Bitwise operators can operate upon?
  10. A multidimensional array A[10][9] can store-------- number of elements
  11. What's wrong? while( (i < 10) && (i > 24))
  12. ------ is the ternary operator
  13. The output of the following code is: main() {int a = 0; for (; i = 0; i++) printf("%d", a); }
  14. A function to be called must be ended with a----------------
  15. What's wrong? for (int k = 2, k <=12, k++)
  16. The output of the following code is: main() { int k, num = 30; k = (num > 5 ? (num <= 10 ? 100…
  17. Which of the following correctly describes C++ language?
  18. Which header file is essential for using strcmp() function?
  19. How many times the following loop will execute?for (a = 0; a < 4; a++)printf("hello");
  20. The main() function can be called from any other function.
  21. Nested macros are allowed.
  22. Which of the following shows the correct hierarchy of arithmetic operations in C
  23. # define PI = 8;' is the correct declaration of macros.
  24. && and & operators have the same meaning.
  25. Which options shows the correct hierarchy of arithmetic operators
  26. continue statement is used
  27. Character data types cannot be declared as unsigned.
  28. Which of the following is an example of compounded assignment statement?
  29. Right shifting an operand 1bit is equivalent to multiplying it by 2.
  30. printf() is not a library function.