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.
Discussion:
9 comments Page 1 of 1.
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.
Rohit said:
1 decade ago
@Swathi.
Pearl, so is it true or false? Have they got it wrong?
Pearl, so is it true or false? Have they got it wrong?
Swathi pearl said:
1 decade ago
It is possible to create an array of pointer to structures.
Marty said:
1 decade ago
struct stud
{
int roll;
char name[10];
}*ptr[20];
{
int roll;
char name[10];
}*ptr[20];
Shubham said:
8 years ago
Because array stored a data in homogenous format.
Divya said:
8 years ago
How it will work, Can you explain @Marty.
Pratster said:
1 decade ago
struct tag{
}struct_obj;
struct *xp[10];
}struct_obj;
struct *xp[10];
Mounica said:
8 years ago
Please give the correct explanations.
Maya said:
1 decade ago
Please explain.
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers