f()
{
int a=2;
f1(a++);
}
f1(int c)
{
printf("%d", c);
}
c=?
Answer Posted / jack
in line 4, a's value is pushed on to stack and then
increaments.........In line 6 the function f1 pops the a's
value and assigned to c so .......c is value is 2.......
| Is This Answer Correct ? | 7 Yes | 2 No |
Post New Answer View All Answers
Can an array be an Ivalue?
What are different storage class specifiers in c?
Is this program statement valid? INT = 10.50;
How does pointer work in c?
What is the auto keyword good for?
What is the use of header?
Why is c so important?
how to write a c program to print list of fruits in alpabetical order?
This is a variation of the call_me function in the previous question:call_me (myvar)int *myvar;{ *myvar += 5; }The correct way to call this function from main() will be a) call_me(myvar) b) call_me(*myvar) c) call_me(&myvar) d) expanded memory
write a program in C that prompts the user for today's date,tomorrow's date and display the results.Use structures for today's date,tomorrow's date and an array to hold the days for each month of the year.
What is the use of structure padding in c?
What are the rules for the identifier?
Why is extern used in c?
what are enumerations in C
An application package has been provided to you without any documents for the following application. The application needs to be tested. How will you proceed?