Solved

What Is the Right Way to Access Value of Structure

Question 24

Multiple Choice

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

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions