Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

almost 4 years ago

Language

C++

Compiler

gcc HEAD 12.0.0 20210720 (experimental)

Options
Warnings
Don't Use Boost
C++2b(GNU)
-pedantic

Author

anonymous

almost 4 years ago

$ g++ prog.cc -Wall -Wextra -std=gnu++2b -pedantic
a[0] addr: 0x7ffc18096810, a[4] addr: 0x7ffc18096820
a addr: 0x7ffc18096810, p addr: 0x7ffc18096824
2, 32763
Exit Code:
0