What does the following program segment print?
main 0
{
int i
int iarray [4] ={1, 2, 3, 4}
# define Size (size of (iarray)/size of (int))
for (i=0; i< size;++i)
iarry [i] +=2;
printf ("value is % d/n", iarry
[3];
}
The following program segment print:-
main 0
{
int i
int iarray [4] ={1, 2, 3, 4}
# define Size (size of (iarray)/size of (int))
for (i=0; i< size;++i)
iarry [i] +=2;
printf ("value is % d/n", iarry
[3];
}
Output:-
4 + 2=6.