Difference between r1.2 and the current
@@ -1,3 +1,4 @@
{{{
#include<stdio.h>int main()
@@ -15,3 +16,4 @@
printf("%s\n", p_str);
return 0;
}
return 0;
}
}}}
#include<stdio.h>
int main()
{
char str[10];
char * p_str=0;
scanf("%s", str);
p_str = &str[4];
* p_str = '@';
p_str = &str;
printf("%s\n", p_str);
return 0;
}










