void main()
{
int a = (1,2,3);
printf("%d",a);
}
with reason
The answer is 3
The value which is last in the bracket is assigned to a(the variable).If it would have been any other value except 3,then it would have been assigned to 'a'.
This Blog features latest placement question Papers from Top It Companies like TCS,Wipro,Infosys,We also provide Resume tips,interview skills and lot more stuffs
No comments:
Post a Comment