-
-
-
-
-
-
-
-
-
-
-
-
-
-
Point out the error in the following program main() { int a=10; void f(); a=f(); printf("n%d",a); } void f() { printf("nHi"); }
The program is trying to collect the value of a "void" function into an integer variable.
-
-
-
-
Point out the error in the following program main() { const int x; x=128; printf("%d",x); }
x should have been initialized where it is declared.
-
-