• Courses
  • Code Compiler
  • Discuss
  • Pricing
  • Teams
Menu
0

int y=20; int &ref = y;

Is ref variable a pointer here? Or y is converted to pointer?

c++reference-typespointer
4th Jul 2017, 5:48 AM
Kushagra Agarwal
Kushagra Agarwal - avatar
1 Answer
+ 6
https://stackoverflow.com/questions/2702156/what-is-the-difference-between-the-and-the-operators-in-c-programming
4th Jul 2017, 6:09 AM
jay
jay - avatar

Often have questions like this?

Learn more efficiently, for free:

  • Introduction to Python

    7.1M learners

  • Introduction to Java

    4.7M learners

  • Introduction to C

    1.5M learners

  • Introduction to HTML

    7.5M learners

See all courses
Hot today
I need help to solve this
0 Votes
How do we code calculator
1 Votes
How to add comment in python?
0 Votes
Engineer Cloud
0 Votes
Lua?
1 Votes
Ayuda para insertar la imagen de portada y las melodĂ­as a mi ĂĄlbum alguien sabe cĂłmo
0 Votes