f()
{
int a=2;
f1(a++);
}
f1(int c)
{
printf("%d", c);
}
c=?
Answer Posted / banavathvishnu
a value will be first assigned to C in the Function and
latter it will be incremented in f() function.
so the value C remains 2
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How can type-insensitive macros be created?
how can i write a program that prints out a box such that whenever i press any key8(coordinate number) on the keyboard, the box moves.
Tell us bitwise shift operators?
What is wrong in this statement? scanf(“%d”,whatnumber);
What is the difference between class and object in c?
Do you know the use of 'auto' keyword?
By using C language input a date into it and if it is right?
What is output redirection?
What is unsigned int in c?
What is the difference between abs() and fabs() functions?
What is the time and space complexities of merge sort and when is it preferred over quick sort?
What are formal parameters?
List the difference between a 'copy constructor' and a 'assignment operator' in C?
What will the code below print when it is executed? int x = 3, y = 4; if (x = 4) y = 5; else y = 2; printf ("x=%d, y=%d ",x,y);
Does c have circular shift operators?