Programming Languages C Objective
Mar 08, 2013

What will be output of the following c code?
void main()
{
int a=10;
printf("%d %d %d",a,a++,++a);
}

Choose the correct answer:
A) 12 11 12
B) 10 10 12
C) 12 10 10
D) 12 11 10
Discussion (0)

No comments yet. Be the first to share your thoughts!

Share Your Thoughts
Feedback