#include <stdio.h>

int main() {
	char str[10] = { 0 }; 
	char* p_str = 0;
	scanf("%s", str);
	p_str = &str[4];
	*p_str = '@';
	p_str = &str;

	printf("%s\n", p_str);

	return 0;


}
Retrieved from http://wiki.zeropage.org/wiki.php/새싹교실/2017/내무반/한윤진/포인터실습
last modified 2021-02-07 05:30:07