Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

calling by reference c++

int main() {
    int b = 1;
    fun(&b);
    // now b = 10;
    return 0;
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #calling #reference
ADD COMMENT
Topic
Name
7+6 =