char *ptr;
char myString[] = "abcdefg";
ptr = myString;
ptr += 5;
a) fg
b) efg
c) defg
d) cdefg
e) None of the above
Showing posts with label Pointer Arithmetic. Show all posts
Showing posts with label Pointer Arithmetic. Show all posts
Sunday, January 10, 2010
Subscribe to:
Posts (Atom)