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 an array? What the different types of arrays in c?

1104


What is union and structure?

1040


Explain do array subscripts always start with zero?

1175


What is conio h in c?

1001


What are local static variables?

1081


write a progrmm in c language take user interface generate table using for loop?

1996


Explain what is the difference between #include and #include 'file' ?

969


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

2107


hi friends how r u as soon in satyam my interview is start but i m very confusued ta wat i do plz help me frndz wat can i do plz tell me some question and answers related with "C" which r asked in the interview .

2392


Explain the use of function toupper() with and example code?

1078


What is the acronym for ansi?

998


Write a program to know whether the input number is an armstrong number.

1073


What is memory leak in c?

1062


What are the parts of c program?

1041


What is the difference between void main and main in c?

1096