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


Please Help Members By Posting Answers For Below Questions

Dont ansi function prototypes render lint obsolete?

612


Does * p ++ increment p or what it points to?

621


to find the closest pair

1827


How can you read a directory in a C program?

658


What is structure padding and packing in c?

627






What are the ways to a null pointer can use in c programming language?

595


How to compare array with pointer in c?

627


What are c identifiers?

631


Differentiate Source Codes from Object Codes

829


Explain what is the difference between #include and #include 'file' ?

591


How many identifiers are there in c?

587


What is static and volatile in c?

785


C language questions for civil engineering

1250


In C language, the variables NAME, name, and Name are all the same. TRUE or FALSE?

774


Why c is called top down?

633