foo.c:1:9: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
foo.c: In function 'main':
foo.c:9:1: warning: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
foo.c:9:1: warning: incompatible implicit declaration of built-in function 'scanf' [enabled by default]
foo.c:10:1: warning: implicit declaration of function 'sprintf' [-Wimplicit-function-declaration]
foo.c:10:1: warning: incompatible implicit declaration of built-in function 'sprintf' [enabled by default]
foo.c:11:1: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration]
foo.c:11:5: warning: incompatible implicit declaration of built-in function 'strlen' [enabled by default]
foo.c:12:1: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
foo.c:12:17: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default]