This code prints 5, although I am not returning anything to m().
#include <stdio.h>
int abc();
int main(){
printf("%d", m());
}
int abc(){
return 5;
}
void m(){
abc();
}
The function is also invalid. So can someone explain why 5 is printed?
Krash source
share