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
Write a program, where i have a grid with many cells, how many paths are possible from one point to other desired points.
What is floating point constants?
Explain what is #line used for?
1) There is a singing competition for children going to be conducted at a local club. Parents have been asked to arrive at least an hour before and register their children’s names with the Program Manager. Whenever a participant registers, the Program Manager has to position the name of the person in a list in alphabet order. Write a program to help the Program Manager do this by placing the name in the right place each time the Program Manger enters a name. The Logic should be written in Data Structures?
Can a pointer be null?
How pointers are declared?
Are global variables static in c?
Is c programming hard?
How can I invoke another program or command and trap its output?
How many header files are in c?
Why dont c comments nest?
What is an operator?
Explain a pre-processor and its advantages.
i have a written test for microland please give me test pattern
In C programming, what command or code can be used to determine if a number of odd or even?