#include <stdio.h> int func() { } int main() { return 0; }
Standard input is empty
prog.c: In function 'main': prog.c:10:24: error: invalid application of 'sizeof' to a function type [-Werror=pointer-arith] printf("%zu",sizeof(func)); ^ cc1: all warnings being treated as errors
Standard output is empty