i used integer but i am asking for too much big datas. Will memory usage be the same ? Or speed ?
void func1(int *a)
{
}
void func2(int &a)
{
}
int main()
{
int a;
func1(&a); // pointer way
func2(a); // what is it ? is this also pointer way ?
}