The following program reports an error on compilation.
#include
int main()
{
float i=10, *j;
void *k;
k=&i;
j=k;
printf("%f\n", *j);
return 0;
}
Answer: B
This program will NOT report any error. (Tested in Turbo C under DOS and GCC under Linux)
The output: 10.000000