Horje
Increment & Decrement Operator in C language Code Example
Increment & Decrement Operator in C language
int x;
int y;

x = 1;

y = ++x;      // value of x = 2, y = 2
y = x++;     // value of x = 3, y = 2

x = 3;

y = x--;      //value of x =2,y =3;
y = --x;      //value of x 1, y= 1;




C

Related
how to write printf function in c Code Example how to write printf function in c Code Example
modelform prefill with data Code Example modelform prefill with data Code Example
integer in c Code Example integer in c Code Example
debian unhold packages Code Example debian unhold packages Code Example
snprintf with malloc Code Example snprintf with malloc Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
7