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.

![for the following structure. struct student { int id=101; char name[30]="Imran"; int](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/09/66f39d770d375_59066f39d76b0abe.jpg)
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
Get step-by-step solutions from verified subject matter experts
