IS STRUCTURES CAN BE USED WITHIN AN ARRAY?
Answer Posted / shruti
yesss.
we do used structures within arrays..
struct student
{
char name[20];
int roll_no;
}s[10]
this is array of structures..
we use "."(dot) operator to access the element
s[i].name = ""
s[i].roll_no = ...
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
What is integer constants?
What is a lvalue
"C" language developed by "Dennis Ritchie" at AT & T. his remarks are a) too general, too abstract b) could deal with only specific problems c) lost generality of BCPL and B restored d) no remarks
c program to compute AREA under integral
Explain what is the general form of a c program?
What kind of structure is a house?
Why we use stdio h in c?
What is union in c?
Why clrscr is used after variable declaration?
can anyone suggest some site name..where i can get some good data structure puzzles???
What are the advantages of union?
How many data structures are there in c?
What are actual arguments?
please give me a VIRTUSA sample palcement papers.... you will only send TECHNICAL SECTION..... that is help for me Advance Thanks........................
What is extern c used for?