Computer Science, asked by vignesharun619, 6 months ago

What is the output of the following C++ code

#include<iostream>
using namespace std;


int main() {
int x = 10;
int &ptr x;
int &ptr1 - ptr:
cout << ptr1<< end1;​

Answers

Answered by adityaluckyengineer
0

error

at the time of printing, *ptr points to the value at address a which is 10. There is no value stored at address 10.

Similar questions