KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Questions tagged
ternary-operator
27 questions
Follow Tag
Sort by:
Newest
Votes
Active
17
votes
6
answers
Why doesn't this method work? Java ternary operator
java
ternary-operator
asked 2013-06-01T19:59:10.820
11
votes
3
answers
Array initialization with a ternary operator?
c
ternary-operator
asked 2013-04-08T11:09:06.033
9
votes
2
answers
Ternary operation with a string output in C
c
ternary-operator
string-literals
asked 2012-10-02T16:16:25.473
17
votes
2
answers
"Wrong" return type when using if vs. ternary opertator in Java
java
if-statement
return
ternary-operator
asked 2012-08-24T11:57:19.867
45
votes
5
answers
Ternary ? operator vs the conventional If-else operator in c#
c#
if-statement
ternary-operator
asked 2012-07-25T05:12:58.393
64
votes
10
answers
A somewhat painful triple-nested ternary operator
javascript
if-statement
ternary-operator
asked 2012-05-10T02:22:09.687
13
votes
4
answers
IF short syntax in c
c
ternary-operator
conditional-operator
asked 2012-01-08T13:19:12.937
11
votes
4
answers
Throw and ternary operator in C++
c++
operators
ternary-operator
asked 2011-10-31T18:00:38.360
18
votes
6
answers
Multiple conditions in the ternary operator safe?
php
if-statement
ternary-operator
asked 2011-09-02T17:09:33.370
9
votes
6
answers
Can the conditional operator lead to less efficient code?
c++
constructor
return-value
ternary-operator
conditional-operator
asked 2011-08-05T13:41:13.693
20
votes
4
answers
Understanding nested PHP ternary operator
php
ternary-operator
operator-precedence
asked 2011-06-03T07:43:07.710
13
votes
4
answers
Casting pointers and the ternary ?: operator. Have I reinvented the wheel?
c++
casting
ternary-operator
asked 2011-05-30T17:48:42.393
57
votes
13
answers
ternary operator in matlab
matlab
if-statement
ternary-operator
conditional-operator
asked 2011-04-08T12:18:38.010
34
votes
3
answers
Delphi - Equivalent to C#'s ternary operator?
delphi
operators
ternary-operator
asked 2011-03-09T06:01:41.483
26
votes
3
answers
doing comparison if else in JasperReports
jasper-reports
ternary-operator
asked 2010-12-14T08:46:06.613
340
votes
7
answers
How do I use the conditional operator (? :) in Ruby?
ruby
ternary-operator
conditional-operator
asked 2010-11-23T05:02:22.757
11
votes
5
answers
Type result with conditional operator in C#
c#
type-conversion
nullable
ternary-operator
conditional-operator
asked 2010-05-11T23:01:43.683
9
votes
3
answers
question about ? and : in c++
c++
ternary-operator
conditional-operator
asked 2010-05-09T11:51:07.900
10
votes
4
answers
Ternary operators in C#
c#
.net
methods
ternary-operator
asked 2010-05-04T12:51:02.167
9
votes
4
answers
Are there any good reasons why ternaries in C# are limited?
c#
ternary-operator
asked 2009-11-03T19:07:56.143
65
votes
3
answers
Ternary operator and string concatenation quirk?
php
ternary-operator
string-concatenation
asked 2009-08-23T00:04:40.420
29
votes
10
answers
Simple PHP isset test
php
ternary-operator
asked 2009-08-08T13:19:17.413
13
votes
3
answers
conditional operator in Velocity
velocity
ternary-operator
asked 2009-07-13T13:08:53.943
205
votes
18
answers
What is the Java ?: operator called and what does it do?
java
syntax
ternary-operator
conditional-operator
asked 2009-04-28T15:28:50.420
10
votes
13
answers
How does the ternary operator work?
c#
java
c
ternary-operator
asked 2009-01-20T21:18:14.780
12
votes
9
answers
How can I closely achieve ?: from C++/C# in Python?
python
syntax
ternary-operator
syntax-rules
asked 2008-09-25T19:06:03.630
26
votes
5
answers
Why is my ternary expression not working?
php
ternary-operator
asked 2008-08-05T00:56:43.813