Question: USE C LANGUAGE 9. Identify an error and rewrite the code for the following structure. struct student { int id=101; char name[30]=Imran; int marks[10]={60,70,80); 10.

 USE C LANGUAGE 9. Identify an error and rewrite the code

for the following structure. struct student { int id=101; char name[30]="Imran"; int

USE C LANGUAGE

9. Identify an error and rewrite the code for the following structure. struct student { int id=101; char name[30]="Imran"; int marks[10]={60,70,80); 10. Write down the output of following code and explain your answer in 2 or 3 line? int main() { char var='b'; printf("%d", sizeof('b')); printf("%d", sizeof(10)); printf("%d", sizeof(var)); return 0; }

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!