Syntax: Single statement in function declaration

Viewed 533

In the C programming language, it is possible to omit a code block in the case of a single statement, for example:

if(1) exit();

Now, does this only apply to conditionals ? Why is this not valid in the case of functions:

void f(int a) exit();
3 Answers
Related