0
What is the output of the following code?
#include <stdio.h>
void func(void);
int main() {
func(10);
return 0;
}
void func(void)
{
printf("Function called\n");
}- ACompilation error
- BCompiles successfully but no output displayed
- CPrints 'Function called'
- DPrints 'Function not called'
Correct answer: A