main()
{
int a=0;
if(a=0) printf("Ramco Systems\n");
printf("India\n");
}
output?
Answer Posted / vikramanj
Actually compile time err wil occur..
Its "Possibly incorrect assignment"
Its due to if(a=0)??
Its wrong,we have to compare only while checking
conditions..
we have to use the operators which are used to check
conditions like ==,<=,>=....
| Is This Answer Correct ? | 1 Yes | 5 No |
Post New Answer View All Answers
How can I read in an object file and jump to locations in it?
what is the difference between 123 and 0123 in c?
What do you mean by a sequential access file?
Is fortran still used in 2018?
What’s the special use of UNIONS?
How can you avoid including a header more than once?
Explain the properties of union.
When should you use a type cast?
What does dm mean sexually?
Is it better to use malloc() or calloc()?
What is pragma in c?
Can you please explain the difference between syntax vs logical error?
What is the right type to use for boolean values in c?
What is a list in c?
What is scope rule in c?