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


Please Help Members By Posting Answers For Below Questions

What is the significance of c program algorithms?

770


What is the difference between array and pointer?

660


What is spark map function?

670


Write a program to use switch statement.

770


What is the value of h?

694






a parameter passed between a calling program and a called program a) variable b) constant c) argument d) all of the above

740


program for reversing a selected line word by word when multiple lines are given without using strrev

2050


Explain what is the benefit of using enum to declare a constant?

699


What is structure and union in c?

694


how to write optimum code to divide a 50 digit number with a 25 digit number??

2848


What is return in c programming?

622


how to find anagram without using string functions using only loops in c programming

2825


Q.1 write aprogram to stack using linklist o insert 40 items? Q.2 write a program to implement circular queue with help of linklist?

1694


swap 2 numbers without using third variable?

751


Can a file other than a .h file be included with #include?

776