Hi,
I am new to C Program
What is the out put of this program ?
When I executed the output is 2 for c and 6 for d.
Can u tell me reason why it's so.
#include<stdio.h>
void main()
{
int a = 2, b = 6, c, d;
c = a,b;
d = (a,b);
printf("|n The value of c is: %d", c);
printf("|n The value of d is: %d", d);
}
Thanks in advance.
I am new to C Program
What is the out put of this program ?
When I executed the output is 2 for c and 6 for d.
Can u tell me reason why it's so.
#include<stdio.h>
void main()
{
int a = 2, b = 6, c, d;
c = a,b;
d = (a,b);
printf("|n The value of c is: %d", c);
printf("|n The value of d is: %d", d);
}
Thanks in advance.