Hi all,
What will happen with this code.
#include<stsio. h>
void main( )
{
int arr[3];
int i;
int j=3;
for (i=0;i<=3;i++);
{
j=j+1;
arr[i]=j;
}
}
what will be the contents on the array?
What will happen with this code.
#include<stsio. h>
void main( )
{
int arr[3];
int i;
int j=3;
for (i=0;i<=3;i++);
{
j=j+1;
arr[i]=j;
}
}
what will be the contents on the array?
Comment