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 to write c functions that modify head pointer of a linked list?
Difference between pass by reference and pass by value?
Explain b+ tree?
What is a char in c?
How can you draw circles in C?
What is the condition that is applied with ?: Operator?
Why isn't it being handled properly?
How do you convert strings to numbers in C?
What is #include conio h?
What are the two forms of #include directive?
What is an identifier?
C program to find all possible outcomes of a dice?
What are qualifiers and modifiers c?
Explain what are multibyte characters?
Explain what is the difference between text files and binary files?