Comment on Tutorial - Use of Conditional (Ternary) Operator in C++ By Baski



Comment Added by : Syed Mamun Raihan

Comment Added at : 2008-09-10 11:29:42

Comment on Tutorial : Use of Conditional (Ternary) Operator in C++ By Baski
There is another similar discussion on use of ternery operator.
IMHO: condition should be simple enough and should be bi-valued and not use this operator in a multi-valued by daisy chaining the expression.
The good coder writes elegent code other write codes. And every one writes code that works!!!


View Tutorial



Subscribe to Tutorials

Related Tutorials

Program using concept of byte long short and int in java

Update contents of a file within a jar file

Tomcat and httpd configured in port 8080 and 80

Java File

Java String

Count number of vowels, consonants and digits in a String in Java

Reverse a number in Java

Student marks calculation program in Java

Handling Fractions in Java

Calculate gross salary in Java

Calculate average sale of the week in Java

Vector in Java - Sample Program

MultiLevel Inheritance sample in Java

Multiple Inheritance sample in Java

Java program using Method Overriding

Archived Comments

1. Really great way of explanation..... :)
Tha

View Tutorial          By: akram at 2010-07-08 04:07:17

2. Thanks it really works good
Continue

View Tutorial          By: vipul at 2009-07-14 02:21:18

3. import java.util.Scanner;
public class Swit

View Tutorial          By: srinath at 2013-04-28 10:17:24

4. good.
View Tutorial          By: Karthik at 2007-10-20 07:03:20

5. This is really a tremendous tutorials for the begi
View Tutorial          By: Raghvendra Dwivedi at 2010-09-01 10:22:42

6. Hey thanks for your tutorial. But i'm getting an e
View Tutorial          By: acc at 2013-07-25 14:30:50

7. Assume scenario:
- i have set connection po

View Tutorial          By: Dan at 2012-02-22 09:48:46

8. simple and clear..
View Tutorial          By: sudhesh at 2011-12-22 04:05:14

9. thats good
View Tutorial          By: P.Kumar at 2009-08-02 10:48:48

10. it is very easy to understand to the learners.
View Tutorial          By: venkat at 2010-06-19 02:37:36