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 an auto keyword in c?
What are loops c?
What is hashing in c language?
I came across some code that puts a (void) cast before each call to printf. Why?
What is meant by realloc()?
Explain what is the difference between a string and an array?
What is mean by data types in c?
What are the types of macro formats?
Which of the following operators is incorrect and why? ( >=, <=, <>, ==)
List some of the dynamic data structures in C?
What is pre-emptive data structure and explain it with example?
What is call by reference in functions?
A global variable when referred to in another file is declared as this a) local variable b) external variable c) constant d) pointers
Are global variables static in c?
Given two strings S1 and S2. Delete from S2 all those characters which occur in S1 also and finally create a clean S2 with the relevant characters deleted.