Point out the error, if any, in the following program.
main()
{
int a = 10;
void f();
a = f();
printf ( "\n %d", a );
}
void f()
{
printf ( "\n Hi ");
}5
775 5b5cc7dde4d2b419777515e3
Q: Point out the error, if any, in the following program. main() { int a = 10; void f(); a = f(); printf ( "\n %d", a ); } void f() { printf ( "\n Hi "); }
- Show Answer
- Workspace
- Discuss