C Programming - Structures, Unions, Enums - Discussion

Discussion Forum : Structures, Unions, Enums - True / False Questions (Q.No. 11)
11.
It is not possible to create an array of pointer to structures.
True
False
Answer: Option
Explanation:
No answer description is available. Let's discuss.
Discussion:
9 comments Page 1 of 1.

Shubham said:   8 years ago
Because array stored a data in homogenous format.

Mounica said:   8 years ago
Please give the correct explanations.

Divya said:   8 years ago
How it will work, Can you explain @Marty.

Marty said:   1 decade ago
struct stud
{
int roll;
char name[10];
}*ptr[20];

Rohit said:   1 decade ago
@Swathi.

Pearl, so is it true or false? Have they got it wrong?

Pratster said:   1 decade ago
struct tag{
}struct_obj;
struct *xp[10];

Swathi pearl said:   1 decade ago
It is possible to create an array of pointer to structures.

NRV said:   1 decade ago
Making sure of the length has nothing to do with whether you assign or copy. You cannot assign to an array in C, ever. The language doesn't allow it.

Maya said:   1 decade ago
Please explain.

Post your comments here:

Your comments will be displayed after verification.