1.

Point out the error in the program

#include<stdio.h> int main()
{ int a=10; void f(); a = f(); printf("%d n", a); return 0;
}
void f()
{ printf("Hi");
}

A. Error: Not allowed assignment
B. Error: Doesn't print anything
C. No error
D. None of above
Answer» B. Error: Doesn't print anything


Discussion

No Comment Found