#include <iostream> using namespace std; int main() { // your code goes here foo("hello world"); return 0; } void foo(std::string &strTemp) { }
Standard input is empty
prog.cpp: In function ‘int main()’: prog.cpp:7:19: error: ‘foo’ was not declared in this scope foo("hello world"); ^
Standard output is empty