Computer Science, asked by ashritbelbase, 3 months ago

Which operator is used to access the members of structure using structure variable?

a) Address operator (&) b) Dot operator (.) c) Pointer operator (*) d) Arrow operator (→)

Answers

Answered by Darshaner
39

Answer:

Array elements are accessed using the Subscript variable, Similarly Structure members are accessed using dot [.] operator. Structure written inside another structure is called as nesting of two structures. Nested Structures are allowed in C Programming Language.

Answered by GulabLachman
4

The operator used to access the members of a structure using a structure variable is called Dot operator (.). So option b dot operator is the correct answer.

  • Dot operator is used to access structure, class, or members.
  • The (.) operator is also known as member operator, it is due to the fact that it is used to access the member of a class or a package.
  • Dot operator is often known as a separator because it is also used to separate the variable and method from any reference variable.
  • The dot operator (.) represents the element that works over the syntax.
  • A dot operator works as an access provider for objects and the class.

Similar questions