Program:
#include<conio.h>
#include<conio.h>
void main()
{
int a, b, c;
clrscr();
c=(a=10,b=20, 2*(a+b));
printf("a=%d", a);
printf("\nb=%d", b);
printf("\nc=%d", c);
getch();
}
Output:
a=10
b=20
c=60
Next Topic : sizeof operator program
Previous Topic : To find the Maximum and Minimum values of given Three Numbers
No comments:
Post a Comment