main()
{
int a=0;
if(a=0) printf("Ramco Systems\n");
printf("India\n");
}
output?
Answer Posted / fazlur rahaman naik
actually the output will b : India only.
the above programme doesn't produce any error at if(a =
0).because we r assiging value here, we r not comparing the
value here.so the condition will fail here and the next
statement after if condition will print.
Is This Answer Correct ? | 10 Yes | 0 No |
Post New Answer View All Answers
How to Throw some light on the splay trees?
Difference between MAC vs. IP Addressing
What is the difference between a string and an array?
What is maximum size of array in c?
Can an array be an Ivalue?
What is a newline escape sequence?
Write a program to identify if a given binary tree is balanced or not.
What is static identifier?
Explain the use of 'auto' keyword in c programming?
Differentiate call by value and call by reference?
What is difference between union All statement and Union?
in iso what are the common technological language?
Why c is procedure oriented?
What is the use of f in c?
What is signed and unsigned?