subject

Suppose I define some structure type ( studentInfo), then I declare an instance of it and I decide to also create a pointer to the instance like so:

typedef struct{

int age;
char idNum[9];
}
studentInfo;

...Code continues...

struct studentInfo mainInfo, *pMain;
pMain = &mainInfo;

Which of the following options is functionally equivalent to:

a. (p*Main).age = 20;
b. *pMain. age = 20;
c. pMain. age = 20;
d. *(pMain. age) = 20;

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 17:50
Farah works in an office with two other employees. all three share a printer and an internet connection. the utility that makes this possible is defragger quicktime soho winzip
Answers: 1
question
Computers and Technology, 23.06.2019 09:00
What provides an array of buttons for quick access to commonly used commands and tools
Answers: 1
question
Computers and Technology, 23.06.2019 16:00
Kenny works with an it company. his company is about to launch new software in the market. he has to ensure that this new software is functional and meets all of the quality standards set up at the planning stage. which job profile is kenny likely to have? kenny is likely to have the job profile of a blank .
Answers: 2
question
Computers and Technology, 23.06.2019 19:00
Acompany is hiring professionals for web designing. the firm is small with few resources. they want employees who possess problem-solving skills and can independently carry out responsibilities. which kind of employee should they select?
Answers: 2
You know the right answer?
Suppose I define some structure type ( studentInfo), then I declare an instance of it and I decide t...
Questions
question
Mathematics, 02.10.2019 15:10
question
Mathematics, 02.10.2019 15:10
question
Mathematics, 02.10.2019 15:10
Questions on the website: 13722359