Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
largest of three, ternary operator
RicardasSim
Jul 13th, 2019
790
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
C
0.21 KB
| None
|
0
0
raw
download
clone
embed
print
report
#include <stdio.h>
#include <stdlib.h>
int
main
(
)
{
int
a
,
b
,
c
,
r
;
a
=
10
;
b
=
5
;
c
=
-
1
;
r
=
a
>
b
?
(
a
>
c
?
a
:
c
)
:
(
b
>
c
?
b
:
c
)
;
printf
(
"%d
\n
"
,
r
)
;
return
0
;
}
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
I made $800 with this exploit
CSS | 5 min ago | 0.26 KB
Basic error handling in Rust with Ok and Err(...
Rust | 15 min ago | 1.02 KB
✅ Admin Password
CSS | 16 min ago | 0.26 KB
Self, &self, &mut self, and self in R...
Rust | 27 min ago | 2.16 KB
Exploit
CSS | 27 min ago | 0.26 KB
✅ Changelly.com Exploit
CSS | 50 min ago | 0.26 KB
MediaKnight Download Denied Page
4 hours ago | 1.72 KB
Chit, gnoll rogue 4
8 hours ago | 7.35 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!