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
int i=10; printf("%d %d %d", i, i=20, i);
Why static variable is used in c?
a c code by using memory allocation for add ,multiply of sprase matrixes
Why c is called free form language?
In a header file whether functions are declared or defined?
What is meant by recursion?
program to find error in linklist.(i.e find whether any node point wrongly to previous nodes instead of next node)
What does *p++ do?
What is the difference between near, far and huge pointers?
Explain how do you view the path?
How many levels of pointers can you have?
What is the difference between test design and test case design?
What is a structure in c language. how to initialise a structure in c?
what is the height of tree if leaf node is at level 3. please explain
How can I manipulate strings of multibyte characters?