This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

8051

I run the following program in keil software....it shows printf ANSI-style prototype error....
please give a clue for correcting the error...

#include "Main.h"
#include "show.h"
#include "PRINTF51.c"
void sho_inti(void)
{ int (*fnptr)();
fnptr=show;
printf("Address of function:%u",&show);
(*fnptr)();
} void show(void)
{ printf("\n function called using pointer");
}

0