What is the similarity between a structure, union and enumeration?

Home | Discussion Forum
Taiyari24Hour

What is the similarity between a structure, union and enumeration?



View More Related Question

2) Which of the following are themselves a collection of different data types?

3) What is the output of this C code?

#include <stdio.h>
struct p {
int k;
char c;
float f;
};
int p = 10;
int main()
{
struct p x = {1, 97};
printf("%f %d\n", x.f, p);
}

4) User-defined data type can be derived by___________

5) Which of the following cannot be a structure member?

UP Gk Online Test

taiyari24hour.com

Study 2 Online Says....
Kindly log in or signup.