Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // unario unario.go
- package main
- import "fmt"
- func main() {
- x := 1
- y := 2
- // apenas postfix
- x++ // x+=1
- fmt.Println(x)
- y--
- fmt.Println(y)
- // fmt.Println(x == y++)
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement