Point out the error in the following program.
#include
int main()
{
int (*p)() = fun;
(*p)();
return 0;
}
int fun()
{
printf("IndiaBix.com\n");
return 0;
}
Answers
Answered by
0
header file is missing
should be
#include<iostream.h>
#include<stdio.h>
should be
#include<iostream.h>
#include<stdio.h>
Similar questions
Social Sciences,
8 months ago
Math,
8 months ago
India Languages,
1 year ago
Science,
1 year ago
Math,
1 year ago