1 2 3 4 5 6
#include<stdio.h> void main() { char srt[]="hello how r you"; printf("%s",str); }
1 2 3 4 5
In function 'main': Line 5: error: 'str' undeclared (first use in this function) Line 5: error: (Each undeclared identifier is reported only once Line 5: error: for each function it appears in.) Line 3: warning: return type of 'main' is not 'int'