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. printf() is not a library function.
  2. Only one break can be used in one loop.
  3. continue statement is used
  4. Which of the following shows the correct hierarchy of arithmetic operations in C
  5. What is Keywords?
  6. Which of the following is not true about preprocessor directives
  7. What will be output if you will compile and execute the following c code?#include int main(){ float…
  8. unsigned char has a range from 0 to ------------
  9. perror( ) function used to ?
  10. The-------------------- statement helps immediate exit from any part of the loop
  11. What is the right way to access value of structure variable book{ price, page }?
  12. Which of the following is an example of compounded assignment statement?
  13. Which of the following language is predecessor to C Programming Language?
  14. struct stud{int roll;char name[20];float marks;} *p;What will be the byte size of p?
  15. An array declared as A[100][100] can hold a maximum of 100 elements.
  16. An array elements are always stored in _________ memory locations.
  17. Operation between an integer and float always yields a float result.
  18. Bitwise operators can operate upon?
  19. The output of the following code is: int f(int a, int b); void main() {int a = 12, b=154; printf("%d",…
  20. = and = = have the same operation.
  21. A pointer is an indication of the variable to be accessed next.
  22. The expression "int i = j = k = 0;" is invalid.
  23. The identifier argv[] is a pointer to an array of strings.
  24. A C variable cannot start with
  25. Which of the following is a valid destructor of the class name "Country"
  26. strcat() function ----------------------- two strings.
  27. The output of the following code is: void main() { static int a = 1, b, c;if (a>=2) b=2; c=3;printf("%d\t%d",…
  28. What would be the output of the following program?int x=40;main(){int x=20;printf("%d",x);}
  29. printf("%d", sizeof('2')); will print 2.
  30. do-while loop is useful when we want the statements within the loop must be executed