Rewrite the following program so that it will use function i
Solution
fun.c
#include <stdio.h>
void fun();
int main()
{
fun();
return 0;
}
void fun()
{
printf(\"function\");
}
Output:
function

fun.c
#include <stdio.h>
void fun();
int main()
{
fun();
return 0;
}
void fun()
{
printf(\"function\");
}
Output:
function
