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 the significance of c program algorithms?
What is the difference between array and pointer?
What is spark map function?
Write a program to use switch statement.
What is the value of h?
a parameter passed between a calling program and a called program a) variable b) constant c) argument d) all of the above
program for reversing a selected line word by word when multiple lines are given without using strrev
Explain what is the benefit of using enum to declare a constant?
What is structure and union in c?
how to write optimum code to divide a 50 digit number with a 25 digit number??
What is return in c programming?
how to find anagram without using string functions using only loops in c programming
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?
swap 2 numbers without using third variable?
Can a file other than a .h file be included with #include?