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);

You can do it
  1. Variables declared as register storage type gets stored in CPU registers.
  2. The output of the following code is: void main() {float a;int x = 10, y = 3; a = x / y;printf("%f",…
  3. A function to be called must be ended with a----------------
  4. Which of the following keyword supports dynamic method resolution?
  5. Left shift operator rotates the bits on the left and places them to the right.
  6. do-while loop is useful when we want the statements within the loop must be executed
  7. C programming language was developed by
  8. The value of an enumerated datatype can be read using scanf() function.
  9. Identify the wrong statement
  10. The function fopen() on failure returns---------------------.
  11. The output of the following code is: main() {int a[10], i; for (i = 1; I <= 0; i++) {scanf("%d",…
  12. # define PI = 8;' is the correct declaration of macros.
  13. What is right way to Initialization array?
  14. continue statement is used
  15. A continue statement causes execution to skip to
  16. enum helps to create user defined datatype.
  17. A recursive function calls itself again and again.
  18. fprintf()function can be used to write into console.
  19. Which escape character can be used to beep from speaker in C?
  20. What does STL stand for?
  21. The output of the following code is: void main(){ int a = 20;printf("%d\t%d", ++a, a);}
  22. Which of the following is an example of compounded assignment statement?
  23. Which of the following correctly describes C++ language?
  24. What's wrong? (x = 4 && y = 5) ? (a = 5) ; (b = 6);
  25. Which of the following shows the correct hierarchy of arithmetic operations in C
  26. The expression "int i = j = k = 0;" is invalid.
  27. What is C Tokens?
  28. Which among the following is a unconditional control structure
  29. static variable will not always have assigned value.
  30. Which of the following language is predecessor to C Programming Language?