Explore
Connect
Documentation
Snippets
Log in
Sign up
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#include
<iostream>
using
namespace
std;
void
bar() {
cout <<
"bar"
<< endl;
}
void
foo() {
cout <<
"foo"
<<
' '
;
bar();
}
int
main() {
// enter foo and print "foo", then enter bar and
print "bar"
foo();
return
0
;
}
Enter to Rename, Shift+Enter to Preview
Run