You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Week 1 of learning C, make a program to print something to the console. I opted out of 'hello world'.
//my first C program 11 Sep 2013
/* why doesn't this work?
int main(){
printf("It's working!\n");
}
warning: incompatible implicit declaration of built-in function ‘printf’
*/
/*
int main(){
printf("It's working!\n");
return(0); // do I need this part?? -- for some compilers yes, sometimes no
}
*/
// so it actually works without doing any includes and gives the warning, how is that possible if the standard library is the one that contains printf?