Pages

Friday, 18 May 2012

program to use of pre increment operators


18./*Write a program to use of pre increment operators */

#include<stdio.h>
#include<conio.h>
main()
{
int x,y;
clrscr();
x=5;
y=++x;
printf("\n The Value of X is:-%d",x);
printf("\n The Value of Y is:-%d",y);
getch();
}



OUTPUT
            The Value of X is:13
            The Value of Y is:13
           

No comments:

Post a Comment