int a=0,b=2;
if (a=0)
b=0;
else
b=*10;
What is the value of b ?
Answer Posted / sandeep kumar
if (a=0)
is a wrong statement.
Since it should be
if (a==0)
so, it will throw an error
Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
Dont ansi function prototypes render lint obsolete?
Does * p ++ increment p or what it points to?
to find the closest pair
How can you read a directory in a C program?
What is structure padding and packing in c?
What are the ways to a null pointer can use in c programming language?
How to compare array with pointer in c?
What are c identifiers?
Differentiate Source Codes from Object Codes
Explain what is the difference between #include and #include 'file' ?
How many identifiers are there in c?
What is static and volatile in c?
C language questions for civil engineering
In C language, the variables NAME, name, and Name are all the same. TRUE or FALSE?
Why c is called top down?