Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
If Statement/ Decrement practice
Language:
Ada
Assembly
Bash
C#
C++ (gcc)
C++ (clang)
C++ (vc++)
C (gcc)
C (clang)
C (vc)
Client Side
Clojure
Common Lisp
D
Elixir
Erlang
F#
Fortran
Go
Haskell
Java
Javascript
Kotlin
Lua
MySql
Node.js
Ocaml
Octave
Objective-C
Oracle
Pascal
Perl
Php
PostgreSQL
Prolog
Python
Python 3
R
Rust
Ruby
Scala
Scheme
Sql Server
Swift
Tcl
Visual Basic
Layout:
Vertical
Horizontal
#include <stdio.h> int main() { int x = 2, y = 0; scanf("%d\n", &y); int z = (++y) ? y == 1 && x : 0; printf("x=%d, y=%d, z=%d\n", x,y,z); return 0; }
gcc
-1
Show compiler warnings
[
+
] Compiler args
[
-
]
Show input
Compilation time: 0.15 sec, absolute running time: 0.36 sec, cpu time: 0.27 sec, memory peak: 3 Mb, absolute service time: 0,58 sec
edit mode
|
history
|
discussion
x=2, y=0, z=0