Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Ternary operator - warnings about unsued values
//g++ 4.9.3 #include <iostream> int main() { // gcc and clang warn about the results of expressions 2,3,4,5 being unused. // only vc++ does not generate warnings. std::cout << ((0) ? (1) : (2,3,4,5,6)) << std::endl; return 0; }
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
w1
find first non repeating
q
printAllPathsInMatrix
12hours Clock c++
II-32bit
11080 WIP
D. Traveling Graph
sdefrgthyjukiujyhtg
Primality test Fermat primality test
Please log in to post a comment.