hello actually i tried both but it still is telling the same result so..please look into the thing....here is the problem
savitra@savitra-laptop:~/programs$ gcc -o savvy savvy.c
savvy.c:1:18: error: stdio.h: No such file or directory
savvy.c: In function 'main':
savvy.c:3: warning: incompatible implicit declaration of built-in function 'printf'
savvy.c:3: warning: return type of 'main' is not 'int'
savitra@savitra-laptop:~/programs$ cat savvy.c
#include<stdio.h>
void main()
{ printf("hello");
}