Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

What is the right way to use errno?

1001


Tell us something about keyword 'auto'.

1010


What is a spanning Tree?

1501


What is difference between structure and union in c programming?

1013


What is the difference between char array and char pointer?

980


What is queue in c?

1032


Is register a keyword in c?

993


What is memory leak in c?

1059


Explain how do you determine the length of a string value that was stored in a variable?

1092


why return type of main is not necessary in linux

2042


What is a program flowchart and how does it help in writing a program?

1082


Why c language?

1005


c programs are converted into machine language with the help of a) an interpreter b) a compiler c) an operatinf system d) none of the above

1203


What are header files in c programming?

1074


How do you redirect a standard stream?

1049