Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

about 8 years ago

Language

Compiler

Options

Author

anonymous

about 8 years ago

$
prog.c: In function 'reverse':
prog.c:35:38: warning: comparison between pointer and integer
   if ('A' <= *(str + i) && (str + i) <= 'Z')*(str + i);
                                      ^~
prog.c:35:45: warning: statement with no effect [-Wunused-value]
   if ('A' <= *(str + i) && (str + i) <= 'Z')*(str + i);
                                             ^~~~~~~~~~
input 文字列 => 反転前 -> aiueo
反転後 -> aiueo
Exit Code:
0