Q.

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);
Answer» A. printf("%d%d", book.price, book.page);
2.2k
0
Do you find this helpful?
4

View all MCQs in

C Programming Basic

Discussion

No comments yet