20. WAP to understand comma[ , ] as a separator and operator.
#include<stdio.h>
void
main()
{
//int i=1,j=2,k=3; // Seperator
//int i=(1,2,8,4,5); // Operator
//int i;
//i=1,2,3,4,5;
//int i = 1,2,3,4,5;
//printf("%d\n",i);
/*
int i=1,j=2,k=3,l=4,m=5,n;
n=(i+j,i=k,k<i,k=l,6);
printf("i = %d\n",i);
printf("j = %d\n",j);
printf("k = %d\n",k);
printf("l = %d\n",l);
printf("m = %d\n",m);
printf("n = %d\n",n);
*/
/*
int i=1,j=2,k=3,l=4,m=5,n;
n=i+j,i=k,k<i,k=l,6;
printf("i = %d\n",i);
printf("j = %d\n",j);
printf("k = %d\n",k);
printf("l = %d\n",l);
printf("m = %d\n",m);
printf("n = %d\n",n);
*/
}
Comments
Post a Comment