Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

over 7 years ago

Language

Compiler

Options

Author

anonymous

over 7 years ago

$
prog.cc:7:18: error: cannot initialize a variable of type 'const intptr' (aka 'int *const') with an rvalue of type 'const int *'
    const intptr ptr = &i;
                 ^     ~~
1 error generated.
Exit Code:
1