0
Why this code in C language Not working, Please elaborate as i am a beginner...
6 Réponses
+ 14
// This works:
#include<stdio.h>
#include<conio.h>
int main()
{
int a;
printf("Enter an no. ");
scanf("%d", &a);
if(a%2==0)
printf("\n Even");
else
printf("\n odd");
return 0;
}
+ 4
remove clrscr(); and getch();
+ 2
Thanka to all of you for clearing my doubts. 😁
+ 1
In turbo c i don,t use return fuction and it works fine.. And what is Return function used for please answer in detail