Hi Expert,
I m a student, can any one help me in finding the answer of below one.
The C programs given below contain errors, rectify them as needed.
a) void main()
{
char linebuf[80];
char *lines[100];
int i;
for (i = 0; i < 100; i++)
char *p = fgets(linebuf, 80, fp);
if (p == NULL)
break;
lines[i] = p;
}
...
User Profile
Collapse
-
Write a function using Recursion to do the following
Write a function using Recursion to do the following: You are the manager in a small factory. You have 7 workers and 7 jobs to be done. Each worker is assigned one and only one job. Each worker demands different pay for each job. (E.g.: Worker Archie demands $10 for welding, $15 for carpentry, etc. Worker Jughead demands $12 for welding, $5 for carpentry, etc.) Find the job-assignment which works out cheapest for you.
No activity results to display
Show More