Find the error in the following program struct point
{struct point *next; int data; } x; main() {int...data;
}
x;
main()
{int i;
for(x=p;x!=0;)
x=x->next,x++;
freelist(x);
}
freelist(x)
{free(x);
return
}
Answer Posted / bob
q=x; x=x->next; freelist(q);
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How do you convert stl to steps?
What is stl stack?
To modify an, existing worksheet. What steps are involved for: 1. Inserting and deleting rows and columns. 2. Printing cell formulas 3Jld displayed values 3. Using the page setup command
draw a flowchart that accepts two numbers and checks if the first is divisible by the second.
write a program that will accept a number and print.its equivalent in words the maximum input number is 9999
How does an stl file work?
what is template and type convertion
What two types of containers does the stl provide?
If P is the population on the first day of the year, B is the birth rate, and D is the death rate, the estimated population at the end of the year is given by the formula: The population growth rate is given by the formula: B – D Write a program that prompts the user to enter the starting population, birth and death rates, and n, the number of years. The program should then calculate and print the estimated population after n years. Your program must have at least the following functions: 1. growthRate: This function takes its parameters the birth and death rates, and it returns the population growth rate. 2. estimatedPopulation: This function takes its parameters the current population, population growth rate, and n, the number of years. It returns the estimated population after n years Your program should not accept a negative birth rate, negative death rate, or a population less than 2. please answer my question ....
What is a standard template library (stl)?
When did c++ add stl?
Is string part of stl?
What is the stl, standard template library?
totoo po ba ang manga aliens!
please visit this site you'll find my question this is my homework please answer it if you can http://easyscience.org/ib/lofiversion/index.php/t36168.html