7 years ago
in C Structures And Unions
Overall Stats
Attempted
144
Correct
53
Incorrect
13
Viewed
78
Answers
hemant kathuria -
2 months ago
hemant kathuria is saying dot operator(.) is correct answer
s g m -
4 years ago
s g m from Solapur, India is saying dot operator(.) is correct answer
naveen kalusalingam -
4 years ago
naveen kalusalingam from Chennai, India is saying dot operator(.) is correct answer
Muthu Kumar -
4 years ago
Muthu Kumar from Chennai, India is saying dot operator(.) is correct answer
Shuvam sinha -
4 years ago
Shuvam sinha from Berhampur, India is saying dot operator(.) is correct answer
Related Questions
Which of the following is a collection of different data types?
- [A] String
- [B] Array
- [C] Structure
- [D] Files
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);
}
- [A] Error
- [B] Garbage Collection
- [C] 0 0.000000
- [D] 1 0.000000
For accessing a structure element using a pointer,you must use?
- [A] Pointer operator (&)
- [B] Dot operators(.)
- [C] Pointer operator(*)
- [D] Arrow operator(->)
A -> B is syntactically correct if?
- [A] a and b are structure
- [B] a is a structure and b is a pointer to structure
- [C] a is a pointer to structure and b is a structure
- [D] a is a pointer to structure in which b is a field