Created
October 8, 2022 07:13
-
-
Save anta40/19f49592a60d51ebaf516b32f55880f1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
// Ini compile OK | |
void cobacoba(); | |
// Ini compile error | |
//void cobacoba(void); | |
int main(void){ | |
char *foo = "hello world"; | |
cobacoba(foo); | |
return 0; | |
} | |
void cobacoba(char *str){ | |
printf("%s\n",str); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment