What is conditional operators ? Using conditional operator find a smallest number amongst two numbers ?
komrul_raja009
0
Newbie Poster
Recommended Answers
Jump to PostAdding to crazyboy:
It can be generalized as follows:
expr?expr1:expr2;
MEANS
if(expr) expr1; else expr2;
All 2 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.