Question: Please correct the errors I just want to rewrite the codes correctly 8.11 (Find the Code Errors) Find the error in each of the following
8.11 (Find the Code Errors) Find the error in each of the following segments. If the error can be corrected, explain how. a) int *number; cout number end 1 ; b) double "realptr; long *integerPtr; integerPtr = realptr; c) int x,y; x=y; d) char s[]= "this is a character array"; for (;s1=\0;+s) cout \&s '; e) short *numptr, result; void "genericPtr = numptr; result = "genericPtr +7; f) double x=19.34; double xPtr =&x
Step by Step Solution
There are 3 Steps involved in it
Corrected Code Segments with Explanations ... View full answer
Get step-by-step solutions from verified subject matter experts
