Question
Easy

The members of a structure variable can be referenced using ........... operator.

1
. (dot)
2
* (star)
3
/ (slash)
4
# (hash)
Question Details
Time to Solve: 12
Exam: HTET
Level/Paper: Level 3
Chapter:
Topic:
Correct Answer
Option A
Explanation

The correct option is (1): The dot operator (.) is the fundamental member access operator in C and C++ when dealing directly with a structure or class variable. When you have an instance (a variable) of a structure, you use the dot operator to link the structure variable's name to the specific member you wish to access or modify. For example, if you have a structure variable named student with…Read More

The members of a - HTET Level 3 | Clear Cutoff