









Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!










int a;int b[3];char c;int * p1;char * p2;p1 = &a;p2 = &c;
p
p
Address and Indirection Operator^
John
Tim
Jane
Robert
Ben
Mary
Lisa
Use pointer as return value **int *max (int a, int b) {
if (a > b)
return a;
else
return b;
*} int p, x, y;p = max (&x, &y);
Do not return local variable or local pointervariable when return type is a pointer
*sum += p;
for (p = a; p < a + 9; p++) {
*sum += p;