void main()
{
unsigned int x=500;
int y=-5;
if(x>y)
printf("hello");
else
printf("hi");
getch();
}
bikash barad
0
Newbie Poster
Recommended Answers
Jump to PostThis is homework. What was your answer to the question? It has to do with how signed and unsigned types interact.
All 2 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.