Question: In c++ 1) int *number; cout < < number < < endl; 2) double *realPtr; long *integerPtr; interPtr = realPtr; 3) int*x, y; x =

In c++

1) int *number; cout << number << endl;

2) double *realPtr;

long *integerPtr;

interPtr = realPtr;

3) int*x, y; x = y;

4) char s[] = this is a character array; for( ; *s != \0; ++s) cout << *s << ;

5) double x = 19.34; double xPtr = &x; cout <

Finds the error and write the reason

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!