What is the value of y in the following code?
x=7;y=0;
if(x=6)
y=7;
else
y=1;
Answers were Sorted based on User's Feedback
Answer / manjunath a s
it will be in infinite loop because x=6 is an assignment
statement and it will be always true.
| Is This Answer Correct ? | 1 Yes | 6 No |
Answer / vikraman85
compile time err wil occur..
Have 2 use == opr..
| Is This Answer Correct ? | 3 Yes | 11 No |
Is double link list a linear data structure? If Yes, Why?If No, Why?
the number 138 is called well ordered number because the three digits in the number (1,3,8) increase from left to right (1<3<8). the number 365 is not well ordered coz 6 is larger than 5. write a program that wull find and display all possible three digit well ordered numbers. sample: 123,124,125,126,127,128,129,134 ,135,136,137,138,139,145,146,147 148 149,156.......789
how to swap 4 number without using temporary number?
how to find greatet of 10 numbers without using array?
what is the difference between structural,object based,object orientd programming languages?
What is the difference between functions abs() and fabs()?
Why cant I open a file by its explicit path?
what are the stoge class in C and tel the scope and life time of it?
WHO WROTE C LANGUAGE?
Write a program to print factorial of given number using recursion?
What is return type in c?
write a c program that prints all multiples of 3between 1 and 50.