Computer Science, asked by mayurnath6303, 6 months ago

Which of the following accesses a variable in structure b?
var.b:
b<-var;
O b.var:
b.var:​

Answers

Answered by rasmikrishnan123
11

Answer:

b.var

.member operator or dot operator create a link between a member and a variable

Answered by sarahssynergy
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