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
What is n in c?
Explain what does a function declared as pascal do differently?
What is a pointer in c plus plus?
What is static and volatile in c?
How can I remove the leading spaces from a string?
What is uint8 in c?
Explain what is a stream?
With the help of using classes, write a program to add two numbers.
Write the test cases for checking a variable having value in range -10.0 to +10.0?
Why is #define used?
What are the 5 types of inheritance in c ++?
What is strcpy() function?
What is the deal on sprintf_s return value?
What are actual arguments?
What is the purpose of the statement: strcat (S2, S1)?