577 views
1 votes
1 votes
what is the result of comparing signed with unsigned number??

#include <stdio.h>

int main()

{ unsigned int a = 5;

if(a > -1)

printf("5 is > -1\n"); return 0; }

Please log in or register to answer this question.

Related questions

1 votes
1 votes
0 answers
1
0 votes
0 votes
1 answer
2
srestha asked Mar 1, 2019
549 views
void print(int i){ static int x=4; if(i!=0){ print( x); } printf("%d",x); }What will be output printed for print(10)?Will it print value as call by value or call by refer...
0 votes
0 votes
3 answers
3
ramakrushna asked Dec 23, 2021
734 views
What should be the ans. Isn’t the Function initialization should be outside main function? They are given inside main. If declaration would be outside main then ans sho...