0

Pointer

#include <iostream> using namespace std; int main() { int inta[5]={9,23,35,55,9}; for(int i=0;i<5;i++) cout<<*inta+i ; return 0; } Output: 910111213 Please explain working/execution of "*inta+i" in this code.

29th Aug 2018, 7:19 PM
cout<<"Saad";
cout<<"Saad"; - avatar
1 Answer
29th Aug 2018, 9:01 PM
Babak
Babak - avatar