Which of the following accesses a variable in structure b?
var.b:
b<-var;
O b.var:
b.var:
Answers
Answered by
11
Answer:
b.var
.member operator or dot operator create a link between a member and a variable
Answered by
1
The correct answer is option (a) b->var.
Explanation:
- b->var accesses a variable in structure b.
- Structure is a group of variables of different data types represented by a single name.
- We can create a structure that has members for name, id, address and age and then we can create the variables of this structure for each student.
Similar questions
English,
4 months ago
Math,
4 months ago
Chemistry,
4 months ago
History,
9 months ago
Business Studies,
9 months ago
Social Sciences,
1 year ago