Question: const int SIZE = 5 ; typedef struct awesome _ data _ struct { int data [ SIZE ] ; char type ; } awesome

const int SIZE =5; typedef struct awesome_data_struct { int data [ SIZE ]; char type ; } awesome_data ; void who_am_i ( const awesome_data &str1, awesome_data & str2){ int i; for ( i =0; i < SIZE ; i++){ str2. data [i]= str1. data [i]; } str2. type = str1. type ; return ; }1. Hand execute the code below using this procedure. // Initialise d1. data with {3,2,7,9,8} and d1. type with 'c '.// Initialise d2. data with {0,0,0,0,0} and d2. type with 'a '. awesome_data d1={{3,2,7,9,8},'c'}; awesome_data d2={{0,0,0,0,0},'a'}; who_am_i ( d1, d2);

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!