C Programming - C Structures And Unions Questions and Answers
1. What is the output of following C code?
main()
{
struct emp
{
char name[20];
int age;
float sal;
};
struct emp e ={"Tiger"}
printf("%d%d%f",e.age,e.sal);
}
Loading...
2. Which of the following comment about the usage of structures in true?
Loading...
3. Which of the following comment about Union is false?
Loading...
4. Which of the following is a collection of different data types?
Loading...
5. For accessing a structure element using a pointer,you must use?
Loading...
6. Which operator is used to connect structure name to its member name?
Loading...
7. In C, structure values can be passed as arguments to function by?
Loading...
8. A -> B is syntactically correct if?
Loading...
Are these questions helpful for you?
Comments: (Your feedback is valuable to us)