431 views
0 votes
0 votes
#include<stdio.h>
void foo(char **);
int main()
{
    char *string = "Hello";
    foo(&string);
    printf("%s",string);
    return 0;
}
void foo(char **a)
{
       *a++;
}

 

What is it still printing the same string?

Please log in or register to answer this question.

Related questions