• 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
Learning
3 Votes
What to do
0 Votes
Intermediate C Projects?
0 Votes
What’s the hardest coding language to learn?
3 Votes
Detailed help‑request in Python
1 Votes
Oops Error. How to get Sololearn to respond
0 Votes
Put user input in array for C++
1 Votes
Has solo learner been helpful so far
0 Votes
WHAT? COURSE IN SOLOLEARN CAN'T TO BE OPEN AGAIN!!!
0 Votes
Coding?
0 Votes