Ad Code

Write a C program to use pre increment operator.

Write a C program to use pre increment operator.

 


#include<stdio.h>
#include<conio.h>
void main()
{
int a,b;
clrscr();
printf("enter the first number\n");
scanf("%d",&a);
b=++a;
printf("%d",a);
printf("\n%d",b);
getch();
}

Post a Comment

0 Comments

Ad Code