Posted by Cheryl on Sunday, February 19, 2012 at 3:26pm.
Emp emp[30];
should work.
struct Emp
{
double d;
char *str;
int arr[11];
}e[30];
// assigning value 12 to the last element of the arr[11] of the last emp
e[30].arr[11] = 12;
// assign 3.5 to the d field of the first emp
e[0].d = 3.5;
//assuming k has value
strcpy(e[k].str,"hello");
Related Questions
MS office Acess 2007 - Determining Table Fields Which should not be included as ...
math - You lose your electronic tag that you use to pay tolls on the highway in ...
C++ Programming - Video Game Player Program Write a program to do the following...
computer science - to find all individuals whose name is Tom or tim, enter______...
Computer programming - problem: Write a program that accepts your first name ...
ict - i need to design a luggage tag for ict homework but i don`t know what is ...
Geology - Can someone please help me name a rather obvious vestigial structure ...
computer science - The following is a possible XML description of a reference. ...
Computer Programming - I was wondering if someone could review my pseudocode to ...
computer science - Can you find the reason that the following pseudocode ...
For Further Reading