May 20, 2023
program to use comma operators in c language
#include<stdio.h>
int main()
{
int a,b,c,sum;
sum = (a=8,b=7,c=9,a+b+c);
printf("sum=%d\n",sum);
return 0;
}
output
sum=24
by : Ajaj Khan
Quick Summary:
a and b and c are being added in this program