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
Why is C language being considered a middle level language?
What is New modifiers?
What is difference between main and void main?
Why is this loop always executing once?
What are c identifiers?
What are header files in c programming?
What is a example of a variable?
What header files do I need in order to define the standard library functions I use?
int i=10; printf("%d %d %d", i, i=20, i);
Write a function which takes as parameters one regular expression(only ? and * are the special characters) and a string and returns whether the string matched the regular expression.
How can I implement a delay, or time a users response, with sub-second resolution?
How can I run c program?
In c programming language, how many parameters can be passed to a function ?
Draw a diagram showing how the operating system relates to users, application programs, and the computer hardware ?
a parameter passed between a calling program and a called program a) variable b) constant c) argument d) all of the above