I am learning C and as an exercise, I'm trying to write a simple program without any semicolons. I've had some trouble with replacing return 0 statement but I've found that this is (the only?) way to do it in C: if(exit(0),0){}. 
How exactly does this statement work?
I know that exit() from stdlib is a void function but I don't understand what the ,0 part in the if works (the rest is clear to me).
 
     
     
     
     
     
    