what is y value of the code if input x=10
y=5;
if (x==10)
else if(x==9)
elae y=8;
a.9
b.8
c.6
d.7
Answer Posted / varun
the value of y is not changing so i think y wll reamin 5.
| Is This Answer Correct ? | 18 Yes | 1 No |
Post New Answer View All Answers
How can you tell whether a program was compiled using c versus c++?
What do you mean by invalid pointer arithmetic?
How can I direct output to the printer?
write a programming in c to find the sum of all elements in an array through function.
What is maximum size of array in c?
What is a const pointer?
What is a constant and types of constants in c?
Explain high-order and low-order bytes.
What is substring in c?
What is the scope of static variable in c?
What are the advantages of c language?
How can this be legal c?
What are the rules for the identifier?
What are the 5 types of inheritance in c ++?
hi folks i m approching for h1 b interview on monday 8th of august at montreal and i m having little problem in my approval notice abt my bithdate my employer has made a mistake while applying it is 12th january and istead of that he had done 18 the of january do any body have any solution for that if yes how can i prove my visa officer abt my real birthdate it urgent please let me know guys thaks dipesh patel