What is the value of y in the following code?
x=7;y=0;
if(x=6)
y=7;
else
y=1;
Answer Posted / 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 |
Post New Answer View All Answers
What is function prototype?
What is array in C
What is meant by preprocessor in c?
Where define directive used?
What does dm mean sexually?
What is getch () for?
What does c mean in standard form?
An instruction which is analysed and acted upon by the processor prior to the compiler going its work a) directive b) constructive c) constant d) absolute mode
Explain about C function prototype?
What is the use of a conditional inclusion statement in C?
When should a type cast not be used?
What is the difference between single charater constant and string constant?
Write a program to check armstrong number in c?
Describe static function with its usage?
write a proram to reverse the string using switch case?