fork download
  1. #include<string>
  2. void o(char c)
  3. {
  4. puts(strstr("qwertyuiopasdfghjklzxcvbnm",&c));
  5. }
  6.  
  7. int main()
  8. {
  9. o('a');
  10. return 0;
  11. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cpp: In function 'void o(char)':
prog.cpp:4:48: error: 'strstr' was not declared in this scope
     puts(strstr("qwertyuiopasdfghjklzxcvbnm",&c));
                                                ^
stdout
Standard output is empty