Is there a function to print out the current position of the pointer of the pointer?
(im not sure how to put it)
I mean like ftell() for a file stream.
Actually i should get the value of i but without knowing what i is.Code:int main()
{
char * response = "hello world";
long size;
for(int i=0;i<6;i++) {
size=ftell(response);
printf("%i\n",size);
or
printf("%i\n", *response);
*response++;
}
return 0;
}