vivek@vivek-desktop:~/programs$ gcc 1.c
1.c:1:18: error: stdio.h: No such file or directory
1.c: In function ‘main’:
1.c:6: warning: incompatible implicit declaration of built-in function ‘printf’
1.c:7: warning: incompatible implicit declaration of built-in function ‘scanf’
1.c:10:2: warning: no newline at end of file
vivek@vivek-desktop:~/programs$ cat 1.c
#include<stdio.h>
main()
{
int i,y;
char *names[]={"PACIFIC","ATLANTIC"};
printf("Enter number:");
scanf("%d",&i);
printf("%o %x %d",i,i,i);
printf("%c %s",names[1],names[1]);
}vivek@vivek-desktop:~/programs$