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

What is the value of y in the following code?
x=7;y=0;
if(x=6)
y=7;
else
y=1;

Answer Posted / vikraman85

compile time err wil occur..
Have 2 use == opr..

Is This Answer Correct ?    3 Yes 11 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is that possible to add pointers to each other?

1428


What are the types of assignment statements?

1112


Can we use any name in place of argv and argc as command line arguments?

1125


Is there any algorithm to search a string in link list in the minimum time?(please do not suggest the usual method of traversing the link list)

2342


What is realloc in c?

1167


Is there sort function in c?

1069


What is the difference between union and anonymous union?

1375


What does calloc stand for?

1244


What is the general form of a C program?

1070


Explain what is a 'null pointer assignment' error? Explain what are bus errors, memory faults, and core dumps?

1154


What is a const pointer in c?

1180


Is c still used?

1097


Explain the red-black trees?

1202


How do you declare a variable that will hold string values?

1231


Who invented b language?

1476