CS153/hw5/hw4programs/easy_p3.oat

23 lines
300 B
Text
Raw Normal View History

string bar (int x, string y) {
var s = "This is a string";
var array = new int[]{1, 3};
var y = array[0];
return s;
}
void proc1 () {
proc2 ( );
return;
}
void proc2 ( ) {
proc1 ( );
return;
}
bool foo ( int x, int[] y ) {
var s = bar (x, "cis341");
proc1 ();
return true;
}