Q3.
What will be the result by the expression :
int Y=A+B >1750 ? 400:500 if value of A and B is:
1. A=1000,B =800 2. A=750 ,B=800.
please give answer for this question
Answers
Answered by
1
Explanation:
An immediate end to British rule over India. Declaration of the commitment of free India to defend itself against all kinds of imperialism and fascism. Formation of a provisional government of India after British withdrawal. Sanctioning a civil disobedience movement against British rule.
Answered by
0
Answer:
1.1(true)
2.0(false)
*explanation*
y will get either a true or false values depending on the values
int(y) returns 0 for false and 1 for true
for the 1 a+b is 1800 and 2 a+b gives 1550
thus 1.y is true and 2.y is false
int(y) for 1 is 1 and 2 is 0
Similar questions