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.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here