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) User-defined data type can be derived by___________

3) What is the output of this C code?

#include <stdio.h>
struct student {
int no;
char name[20];
}
void main()
{
struct student s;
s.no = 8;
printf("hello");
}

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

5) Number of bytes in memory taken by the below structure is

#include <stdio.h>
struct test {
int k;
char c;
};

UP Gk Online Test

taiyari24hour.com

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