C - Comma Operators

<<Previous

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));
  return(0);

}

Output

The addition : 7
The Subtraction : 1

<< Previous

Next >>







C - Comma Operators

<<Previous

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));
  return(0);

}

Output

The addition : 7
The Subtraction : 1

<< Previous

Next >>







Learn about Hashing and Hash table

Learn Expression Tree

OS Kernel Architecture

OS Arcitecture of Windows, Linux and MacOS

Learn OS scheduling Algorithms