DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR CPP
calling by reference c++
void fun3(int a) { a = 10; } int main() { int b = 1; fun3(b); // b is still 1 now! return 0; }
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#calling
#reference
ADD COMMENT
Topic
COMMENT
Name
7+2 =
Submit