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
History,
4 months ago
Science,
4 months ago
History,
8 months ago
Business Studies,
8 months ago
English,
11 months ago
Social Sciences,
11 months ago