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. as in property we set the value and then retrieve
View Tutorial          By: Deep at 2011-03-18 21:00:54

2. Where should I put the xml file ??????????
View Tutorial          By: Marya at 2014-03-21 16:01:13

3. Thanks lot tutor.
View Tutorial          By: veda murthy at 2013-08-01 09:33:43

4. Superb

many thanks to you Mashoud.

View Tutorial          By: orchidouest at 2009-05-10 12:58:53

5. better
View Tutorial          By: sanjeev at 2010-06-12 10:38:04

6. what about the access modifiers, while talking abo
View Tutorial          By: Seetha at 2010-06-04 01:14:02

7. not satisfied...

want to print the

View Tutorial          By: nikhil jha at 2010-03-08 04:25:50

8. Hi am saving data in to the internal memory.But ho
View Tutorial          By: harsha at 2012-04-27 07:48:45

9. Hi This is very fine to understanding struts flo
View Tutorial          By: Abinash at 2011-06-28 08:27:18

10. nice article... got th topic clearly
View Tutorial          By: praba at 2011-05-09 23:29:26