repl.it
@justingraham/

Date (Separated)

C++

No description

fork
loading
Files
  • main.cpp
main.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#include <iostream>
using namespace std;

	void doStuff (pass-by-value X) { 

   print X
   X = X - 4 
   print X
	}

int main()
{



    A = 9  
    print A 
    doStuff(A)  
    print A
    
    return 0;
}
Fetching token
?