1 2 3 4 5 6 7 8 9 10 11 12
#include <string.h> const char* does_it_work(void); int a_fun(void); int main(void) { if(strcmp(does_it_work(), "yes it does") != 0) { return -a_fun(); } return 0; }