Search Results

Search: Posts Made By: cbkihong
Forum: Programming 10-09-2002
3
1,829
Posted By cbkihong
Re: * vs &
& is also used in "pass by reference" in C++ (not C). Works like pointers but some people may consider easier to work with by reference instead of pointers:


#include <stdio.h>
void add(int &a,...
Showing results 1 to 1 of 1

 
All times are GMT -4. The time now is 04:10 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy