Question: eclaration. Q 4 Identify the errors in the following code segments. a ) int a [ ] = ( { 2 } , { 3

eclaration. Q4 Identify the errors in the following code segments. a) int a[]=({2},{3},{4}); b) for (int i=0,i <10,i++) printf ("%d
", i); c){:[" int "a[]={1","2","3","4","5};],[" for (int "j=0;j <5;j++)],[quad" printf "("("\%"", a(j)); "]:} d){:[" float "f[]={1.4","3.5","7.3","5.9}"; "],[" int size "=4;],[" for (int "n=-1;n <" size; "n--)],[" pprintf "("("\%f "\
"","f[n])"; "]:} e){:[" int count "=0;],[" for (int "i=4;i <6;i--)],[quad" for (int "j=i","j <45;j++)],[{]:}

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 Programming Questions!