C Programming - Structures, Unions, Enums - Discussion
Discussion Forum : Structures, Unions, Enums - Yes / No Questions (Q.No. 3)
3.
The elements of union are always accessed using & operator
Discussion:
10 comments Page 1 of 1.
Sachin said:
4 years ago
Structure and union used in dot operator.
Lingam said:
7 years ago
Pointer to structure and pointer to union accessed in operator( ->).
Pointer to structure declaration is called "self refferal structure".
Pointer to structure declaration is called "self refferal structure".
Ramya said:
7 years ago
Dot operator is used.
Priyanka rathod said:
8 years ago
Yes. Operator is used.
Renuka said:
8 years ago
Structure and union accessed using the dot operator.
Salim said:
8 years ago
Structure, union, enum r access using the .(dot) Operator.
Sudha said:
10 years ago
Yes! I agree with all friends comments.
Ashutosh said:
1 decade ago
Structure and union always accessed using .(dot) operator.
And pointer specified for a string in a structure is accessed by (->).
And pointer specified for a string in a structure is accessed by (->).
Ruthu said:
1 decade ago
Structure and union always accessed using. (dot) operator only.
Megha said:
1 decade ago
They are accessed using .(dot) Operator.
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers