Code:
#include<stdio.h>
int main()
{
int i=(2,3);
printf("%d",i);
}
Code:
3
kindly explain the reason.
|
Skilled contributor
|
![]() |
| 7Apr2008,14:50 | #1 |
|
Code:
#include<stdio.h>
int main()
{
int i=(2,3);
printf("%d",i);
}
Code:
3 kindly explain the reason. |
|
Go4Expert Founder
|
![]() |
| 7Apr2008,15:01 | #2 |
|
Read about the comma operator and it will become clear to you
|
|
Skilled contributor
|
![]() |
| 7Apr2008,18:11 | #3 |
|
Thank you. I wasn't aware of this operator.
|