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...

read the folllowing code
# define MAX 100
# define MIN 100
....
....
if(x>MAX)
x=1;
else if(x<MIN)
x=-1;
x=50;
if the initial value of x=200,what is the vlaue after
executing this code?
a.200
b.1
c.-1
d.50

Answer Posted / divakar

50. irrespective of the if and else if at last ur assigning
x=50

Is This Answer Correct ?    24 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can I dynamically allocate arrays?

1114


What is hash table in c?

1033


What is a macro?

1126


What is double pointer in c?

1050


What is malloc and calloc?

1070


What is structure in c definition?

1065


What is function prototype in c with example?

1104


What does int main () mean?

1038


Which are low level languages?

1113


What is the difference between formatted&unformatted i/o functions?

1066


A character flag or control mechanism that delineates one data item from another a) variable b) constant c) delimiter d) call by reference

1119


How are variables declared in c?

1113


Explain bit masking in c?

1145


Is there a way to have non-constant case labels (i.e. Ranges or arbitrary expressions)?

1088


Are pointers integer?

1027