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 / akash

The value of b will be 20.

Because when a=0 is presented in if condition, it will take it as false condition. So the else block will execute.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a double c?

995


Which control loop is recommended if you have to execute set of statements for fixed number of times?

1357


Explain what are compound statements?

1068


Why is c called c?

1034


A c program to display count values from 0 to 100 and flash each digit for a secong.reset the counter after it reaches 100.use for loop,. pls guys hepl me.. :(

2258


What are the advantages of c language?

1099


hello freinds next week my interview in reliance,nybody has an idea about it intervew questions..so tell

2182


How can you find the day of the week given the date?

1206


int i=10; printf("%d %d %d", i, i=20, i);

1629


What is difference between main and void main?

1224


Explain the difference between #include "..." And #include <...> In c?

1039


Explain what are bus errors, memory faults, and core dumps?

1285


What is c language used for?

992


Is sizeof a keyword in c?

976


What is static memory allocation?

1187