I got a question in amdocs about comparison b/w different data types in C. Definitely some people thinks its too easy to judge the output. Bt when you will see same sort of options. You will humble there. Its gud to see the output.
int main()
{
int i=1;
double j=1.00000;
float k=1;
if(i==j)
printf("You r Same\n");
if(i==k)
printf("Again you r same\n");
}
// Comparing same values with different Data Types.
OUTPUT :
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment