Here in the code I am getting value of ans 0 but why is it
#include<stdio.h>
int main()
{
int i=9,j=10,k=1,ans;
ans=i<j>k;
printf("%d%d%d%d",i,j,k,ans);
return 0;
}
Here in the code I am getting value of ans 0 but why is it
#include<stdio.h>
int main()
{
int i=9,j=10,k=1,ans;
ans=i<j>k;
printf("%d%d%d%d",i,j,k,ans);
return 0;
}