Find and write the output of the following C++ program code:
Note: Assume all required header files are already being included in the program.
void main( )
{
int Ar[ ] = { 6 , 3 , 8 , 10 , 4 , 6 , 7} ;
int *Ptr = Ar , I ;
cout<<++*Ptr++ << '@' ;
I = Ar[3] - Ar[2] ;
cout<<++*(Ptr+I)<<'@'<<"\n" ;
cout<<++I + *Ptr++ << '@' ;
cout<<*Ptr++ <<'@'<< '\n' ;
for( ; I >=0 ; I -=2)
cout<
}
Answers
Answered by
5
the out puts are as follows ,not include the last cout due to incomleteness
7@11@
6@8@
Answered by
13
Answer:
7@11@
6@8@
11@3@
Explanation:
Similar questions