C PROGRAMMING - TEMPLATE / STRUCTURE CHECKING Indicate what is incorrect in the following structure and how it should be (correct way). 1. Explain what is wrong with the following: struct myStruct {...


C PROGRAMMING - TEMPLATE / STRUCTURE CHECKING


Indicate what is incorrect in the following structure and how it should be (correct way).



1. Explain what is wrong with the following:



struct myStruct


{


int a;


float b;


struct thisStruct c;


};


struct thisstruct


{


int d;


float e;


struct myStruct c;


};



2.  Explain what’s wrong with this template.



Structure{


char *emp_name;


int rank_number[20];


char dept_name;


}



Hope you answer both questions. Thankyou. It's just two items tho. All you have to do is comment or tell what is wrong with the template or the given structure definition I think. Thankyou.



Jun 06, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here