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
Similar Questions from HTET Exam - Level 3 - Year 2016
Question 1
Easy
Source :
HTET 2016
The explicit conversion of an operand to a specific type is called............
Question 2
Easy
Source :
HTET 2016
Which of the following control expressions are valid for an "IF statement"?
Question 3
Easy
Source :
HTET 2016
_______ in values processing of all elements in an array one by one.
Question 4
Easy
Source :
HTET 2016
A _______ feature supports reusability and extensibility of classes.