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. very good explanation for Include Action in struts
View Tutorial          By: VIshwanath at 2011-03-21 06:00:22

2. I have one textbox and three label.i want to parse
View Tutorial          By: Nara at 2011-08-01 06:16:07

3. Its tooo good to others.......& easy
View Tutorial          By: Abhishek at 2010-03-31 23:57:07

4. Yes Left shift result is wrong its like
5

View Tutorial          By: Ragunath k at 2010-05-10 04:45:33

5. rms programe
View Tutorial          By: hardik at 2008-03-28 23:06:58

6. nice its working good example.... very useful...
View Tutorial          By: Mamatha at 2012-02-02 09:23:40

7. Very good
View Tutorial          By: take at 2010-03-29 07:47:01

8. example is good but in c++ we can't use printf().
View Tutorial          By: vikas at 2009-10-26 20:12:08

9. i like this site.good explanation,but it is good f
View Tutorial          By: mamata at 2010-08-16 05:22:53

10. hiiiiiii

it's good turotiral for s

View Tutorial          By: Raju Singh at 2009-10-01 09:47:04