#include <stdio.h> int main(void) { funcao(1, 2); funcao2(1, 2); } //https://pt.stackoverflow.com/q/138582/101
Standard input is empty
prog.c: In function ‘main’:
prog.c:7:2: error: too many arguments to function ‘funcao2’
funcao2(1, 2);
^~~~~~~
prog.c:4:5: note: declared here
int funcao2(void) { printf("ok"); return 0; }
^~~~~~~
Standard output is empty