Aspire Faculty ID #17050 · Topic: AMU MCA 2021 · Just now
AMU MCA 2021

In C++, the declaration
int x; int &p = x;

is same as the declaration
int x, *p; p = &x;

This remark is

Solution

Reference (&) is not same as pointer (*). Reference cannot be reseated, pointer can.

Previous 10 Questions — AMU MCA 2021

Nearest first

Next 10 Questions — AMU MCA 2021

Ascending by ID
Ask Your Question or Put Your Review.

loading...