Run Code  | API  | Code Wall  | Misc  | Feedback  | Login  | Theme  | Privacy  | Patreon 

ECE2574_Function_Calling_Example

Language: Layout:
+ ] Compiler args + ] Show input
Compilation time: 0.62 sec, absolute running time: 0.14 sec, cpu time: 0 sec, memory peak: 3 Mb, absolute service time: 0,76 sec 
edit mode |  history  | discussion
Test Program for calling functions
Value of i prior to calling myFuncByValue is: 3
Value of i after to calling myFuncByValue is: 3
Value of i prior to calling myFuncByReferenceCStyle is: 3
Value of i after to calling myFuncByReferenceCStyle is: 4
Value of i prior to calling myFuncByReferenceCppStyle is: 4
Value of i after to calling myFuncByReferenceCppStyle is: 5