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 / kishore sharma

a=0;
b=2;
but  
condition
if(a=0)(b=0)
so
b=*10;
answer is
b=b*10   (b=0)
b=0*10;
  0

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we declare variable anywhere in c?

983


How a string is stored in c?

1077


Explain what does it mean when a pointer is used in an if statement?

1076


What are operators in c?

1034


How pointers are declared?

966


Explain what is the difference between a string and an array?

1179


Which is the memory area not included in C program? give the reason

1952


Is c easy to learn?

996


Why we not create function inside function.

2210


What is logical error?

1136


How can you draw circles in C?

1158


Why does not c have an exponentiation operator?

1062


What is string in c language?

1167


Difference between goto, long jmp() and setjmp()?

1185


Which is better pointer or array?

1037