?
Determine output:
Determine output:
main()
{
int i = abc(10);
printf("%d", --i);
}
int abc(int i)
{
return(i++);
}
main()
{
int i = abc(10);
printf("%d", --i);
}
int abc(int i)
{
return(i++);
}
Answer & Solution
Correct Answer:
Option
B
return(i++) it will first return i and then increment. i.e. 10 will be returned.
Join the Discussion
Login to post a comment or share your explanation.
Login