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


Please Help Members By Posting Answers For Below Questions

How do you override a defined macro?

699


Which node is more powerful and can handle local information processing or graphics processing?

829


What is exit() function?

561


Can you explain the four storage classes in C?

642


What is the most efficient way to store flag values?

689






can we implement multi-threads in c.

666


What are control structures? What are the different types?

598


What does d mean?

583


Define VARIABLE?

690


int i[2], j; int *pi;i[0] = 1; i[1] = 5; pi = i; j = *pi + 1 + *(pi + 1)Value of j after execution of the above statements will be a) 7 b) 6 c) 4 d) pointer

657


what are # pragma staments?

1628


What is a pointer on a pointer in c programming language?

621


When should a type cast not be used?

627


What is zero based addressing?

715


What is graph in c?

583