Question: Code below is used for reference. 3) Short answer question: SPOLJE (a) int main() (b) int main() struct employee struct char name[25] : int age

Code below is used for reference.

Code below is used for reference. 3) Short answer question: SPOLJE (a)

int main() (b) int main() struct employee struct char name[25] : int

3) Short answer question:

age : float bs; char name[25] ; char language[10] struct employee e

SPOLJE (a) int main() (b) int main() struct employee struct char name[25] : int age : float bs; char name[25] ; char language[10] struct employee e = { "Hacker", struct employee e ; strcpy(e.name, "Hacker"): age = 25; printf (" %s %d", e.name, age ); return 0; printf(" %s %d", e name, e.language ) return 0; (c) (d) structs struct virus inti structs *p; int main() char signature[25] char status[20] int size; v[2] = { "Yankee Doodle", "Deadly", 1813, "Dark Avenger", "Killer", 1795 struct s varl, var2 varli 100 var2i = 200 varl.p = &var2 var2.p = &varl printf(" %d %d", var 1.p-> i, var2.p -> main( inti: for(i=0;ich, v -> i,v ->a); void g ( structs *v) printf(" %c %d %f", v.ch, v.i, v.a d). A structure variable is passed by value or reference to a function? Experiment with the relevant output tracing code shown above as an example! e) A structure array is passed by value or reference to a function? Experiment with the relevant output tracing code shown above as an example

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!