#include<stdio.h>
#include<conio.h>
void main()
{
int i;
clrscr();
printf("Enter the number to be displayed");
scanf("%d",&i);
printf("The entered number is %d",i);
getch();
}
I am able to run the above program in Turbo C++ but in Dev C++ I'm getting this error.