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 the use of bit field?

1240


What is struct node in c?

1129


What does == mean in texting?

1396


How can I split up a string into whitespace-separated fields?

1111


What is the use of header files?

1158


Write a progarm to find the length of string using switch case?

2125


Which function in C can be used to append a string to another string?

1277


Are global variables static in c?

1218


Explain high-order and low-order bytes.

1172


What is the purpose of sprintf() function?

1188


the factorial of non-negative integer n is written n! and is defined as follows: n!=n*(n-1)*(n-2)........1(for values of n greater than or equal to 1 and n!=1(for n=0) Perform the following 1.write a c program that reads a non-negative integer and computes and prints its factorial. 2. write a C program that estimates the value of the mathematical constant e by using the formula: e=1+1/!+1/2!+1/3!+.... 3. write a c program the computes the value ex by using the formula ex=1+x/1!+xsquare/2!+xcube/3!+....

23915


What is static function in c?

1168


An expression to whose value an operater is applied a) operand b) variable c) constant d) all of the above

1229


What is difference between Structure and Unions?

1313


How does placing some code lines between the comment symbol help in debugging the code?

1066