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

What is zero based addressing?

1148


Is linux written in c?

1029


Explain what’s a signal? Explain what do I use signals for?

1134


Why pointers are used?

1058


Why c is called a mid level programming language?

1056


What are shell structures used for?

1029


Explain what are run-time errors?

1069


Explain the ternary tree?

1002


Which is better pointer or array?

1009


what do you mean by enumeration constant?

994


What is the significance of c program algorithms?

1134


What is the size of enum in c?

1101


An application package has been provided to you without any documents for the following application. The application needs to be tested. How will you proceed?

1217


What's the right way to use errno?

1125


I have written a pro*C program to fetch data from the cursor. where in i have used the concept of BULK FETCH.... each FETCH statement is taking lots of time to fetch specified number of rows at...

10189