1)If list is an array of five components of type int. What is stored in list after the following c++ code executes?
for (i=0;i<5;i++)
{
list[i]=2*i+5
if(i%2==0)
list[i]=list[i]-3
}
2)Given:
char string15[16];
are the follwing statements valid or invalid (why if invalid)
a) strcpy(sring15,"Hello there");
b) strlen(string15);
c) string15="Jacksonville";
d) cin>>string15;
e) cout<<string15;
f) if(string15>="Nice day")
cout<<string15
g) string15[6]='t';