What Are The Uses Of Structure?

What Are The Uses Of Structure? A structure is a collection of variables of same or different datatypes. It is useful in storing or using informations or databases. Example: An employee’s record must show its salary, position, experience, etc. It all can be stored in one single variable using structures. What is the use of

What Is The Right Way To Access A Structure Variable?

What Is The Right Way To Access A Structure Variable? Q. What is the right way to access value of structure variable book{ price, 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); How do you access a structure variable through a pointer? Access Structure