Rewrite the following program so that it will use function i


Rewrite the following program so that it will use function #include Int main() {printf(\"function\"); return 0;}

Solution

fun.c

#include <stdio.h>
void fun();
int main()
{
fun();

return 0;
}
void fun()
{
printf(\"function\");
}

Output:

function

 Rewrite the following program so that it will use function #include Int main() {printf(\

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site