C - Comma Operators


Next >>

This operator is used to separate two or more variables or expressions. It has the lowest priority among all other operators.

For example:
     a=17, b=28, c=a+b;

Following is an example C Program using Assignment Operators.

#include <stdio.h>
#include <conio.h>

int main()
  printf("The Addition :%d\n The Subtraction : %d \n",(2+5),(5-4));



The addition : 7
The Subtraction : 1

<< Previous

Next >>