
Long questions with answers for this topic
A structure is a user-defined type that groups variables of different data types under one name.
A union is a user-defined type where all members share the same memory location.
An enum is a set of named integer constants.
typedef creates an alias name for an existing data type.
A namespace groups names to avoid conflicts in large programs.
The scope resolution operator is ::.
A structure groups related fields of different data types. Example: struct Student{int roll; char grade;};
We create variable Student s; and access members using . like s.roll=10.
This helps represent real-world entities.
Sign in to access the all questions and answers
It's free and takes just 5 seconds