What is the value of y in the following code?
x=7;y=0;
if(x=6)
y=7;
else
y=1;
Answer Posted / deepa
y = 7
| Is This Answer Correct ? | 22 Yes | 3 No |
Post New Answer View All Answers
Explain the ternary tree?
Explain what is the benefit of using const for declaring constants?
What is meant by type casting?
Explain how can I read and write comma-delimited text?
how to capitalise first letter of each word in a given string?
When we use void main and int main?
What is the difference between array and pointer in c?
Difference between goto, long jmp() and setjmp()?
What is the use of header files?
What's the right way to use errno?
How can you draw circles in C?
Explain how do you determine whether to use a stream function or a low-level function?
Explain what is the difference between far and near ?
Explain is it better to use a pointer to navigate an array of values, or is it better to use a subscripted array name?
How can I swap two values without using a temporary?