GMgKe586q6suSQnyqZLlGCooeWM
Learn To Program
Increase Your Knowlegde and Build Your Skill!
Pages
Home
Me
Search
Monday, March 14, 2011
CPP - Pointer To Array
For example, you have an array
int age[3]
age[0] = 27;
age[1] = 24;
age[2] = 55;
int *ptr;
ptr = age;
ptr[1] = 88;
cout << ptr[1] << endl;
CPP - Pointer To Array
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment