Get Started
1468

Q: Rewrite the following set of statements using conditional operators. int a =1, b ; if ( a > 10 ) b = 20;

  • उत्तर देखें
  • Workspace

Answer :
Explanation :

int a = 1, b , dummy; a > 10 ? b = 20 : dummy =1;   Note that the following would not have worked: a > 10 ? b = 20 : ;;

सबसे विस्तृत एग्जाम तैयारी प्लेटफार्म

Examsbook Prep ऐप आज ही प्राप्त करें