• 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
How can one build an Ai app
5 Votes
How to properly reverse a string in python
3 Votes
Can someone explain how it works (im new)
1 Votes
AI Takeover
2 Votes
Python Developer
0 Votes
Deletion of my Post
0 Votes
Using Python on VScode
0 Votes
Average of Two Numbers
0 Votes
Hearts
0 Votes
Can I take the certificates after finished the lessons?
1 Votes