Choose a correct statement about C structures.Question 29Select one:Structure elements can be initialized at the time of declaration.Only integer members of structure can be initialized at the time of declaration.Structure members can not be initialized at the time of declarationNone of the above
Question
Choose a correct statement about C structures.Question 29Select one:Structure elements can be initialized at the time of declaration.Only integer members of structure can be initialized at the time of declaration.Structure members can not be initialized at the time of declarationNone of the above
Solution
The correct statement about C structures is: "Structure elements can be initialized at the time of declaration."
Similar Questions
Which of the following comments about the usage structures is true? a) Storage class can be assigned to individual member b) Individual members can be initialized within a structure type declaration c) The scope of the member name is confined to the particular structure, within which it is defined d) None of the above
Which of the following structure declaration will throw an error?Question 32Select one:struct temp{}s; main(){}struct temp{}; struct temp s; main(){}struct temp s; struct temp{}; main(){}None of the mentioned
Choose a correct statement about C structures.Question 9Answera.A structure size is limited by only physical memory of that PC.b.A structure can contain same structure type member.c.All the above.d.You can define an unlimited number of members inside a structure.
Which of the following statements about initializing strings is correct?
How do you declare a structure in C?struct { int a; float b; } myStruct;struct myStruct { int a, float b};struct myStruct { int a; float b; };struct myStruct int a; float b; myStruct;struct { int a; float b; };
Upgrade your grade with Knowee
Get personalized homework help. Review tough concepts in more detail, or go deeper into your topic by exploring other relevant questions.