SIGN UP FOR FREE !
Home
/ Forum
User Forum
Ask Your Question
MUKUL ANAND SHARMA
from
DOLPHIN PUBLIC SCHOOL, Ghaziabad
Subject :
ICSO
Class :
Class 10
Write the equivalent expression for the given C++ code. if(7==4+2) p=9; else p=7;
View All Answers (2)
Ans 1:
×
Edit Post
Post
p = (7==4+2)? 9 : 7;
Utsav Munendra
from
DPS, Lucknow
Class :
Class 10
p = (7==4+2)? 9 : 7;
Ans 2:
×
Edit Post
Post
if(7==6) { p=9; } else { p=7; }
martin jacob
from
St. Joseph's School, Bhagalpur
Class :
Class 10
if(7==6) { p=9; } else { p=7; }
Submit Your Answers
Post Your Answer