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
What is an array? What the different types of arrays in c?
What is union and structure?
Explain do array subscripts always start with zero?
What is conio h in c?
What are local static variables?
write a progrmm in c language take user interface generate table using for loop?
Explain what is the difference between #include and #include 'file' ?
Write a C Program That Will Count The Number Of Even And Odd Integers In A Set using while loop
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 .
Explain the use of function toupper() with and example code?
What is the acronym for ansi?
Write a program to know whether the input number is an armstrong number.
What is memory leak in c?
What are the parts of c program?
What is the difference between void main and main in c?