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 / suchita

this is logically wrong bcoz we use relational opr in
conditional statements. and thats why he displays last
statements.

Is This Answer Correct ?    4 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the purpose of 'register' keyword?

1140


What is cohesion and coupling in c?

1099


What is the difference between ++a and a++?

1276


Write a C Program That Will Count The Number Of Even And Odd Integers In A Set using while loop

2210


What is variable in c example?

1133


What is 1d array in c?

1159


Do string constants represent numerical values?

1450


What is the difference between malloc() and calloc()?

1993


`write a program to display the recomended action depends on a color of trafic light using nested if statments

2189


Does * p ++ increment p or what it points to?

1191


.main() { char *p = "hello world!"; p[0] = 'H'; printf("%s",p); }

1375


Explain the array representation of a binary tree in C.

1287


What is hash table in c?

1078


What is static volatile in c?

1080


Why do we use main function?

1238