CS Electrical And Electronics
@cselectricalandelectronics

Find the warning in this C code, something unused warning it is showing, find out?

All QuestionsCategory: C LanguageFind the warning in this C code, something unused warning it is showing, find out?
CS Electrical And Electronics Staff asked 4 years ago

Code:

#include<stdio.h>
int main()
{
int n,m;
printf(“enter number\n”);
scanf(“%d”,&n);
if(n%2==0)
{
printf(“the number is even\n”);
}
else
{
printf(“the number is odd\n”);
}
printf(“thank you\n”);
return 0;
}

Comment what warning this code is giving.