Consider the following code snippet char x Z float y 8 char xPtr-05347
Consider the following code snippet<br>char x = Z<br>float y = 8;<br>char *xPtr = <br>float *yPtr = <br>xPtr++; //1<br>yPtr++; // 2<br>What will be the address of xptr and yptr respectively after the execution of statement 1 and statement 2 (assuming xPtr has the address of 105 and yptr has the address of 102 initially)
This multiple choice question (MCQ) is related to the book/course vu cs410 Visual Programming. It can also be found in vu cs410 Final Term - Quiz No.13.
Consider the following code snippet
char x = Z
float y = 8;
char *xPtr =
float *yPtr =
xPtr++; //1
yPtr++; // 2
What will be the address of xptr and yptr respectively after the execution of statement 1 and statement 2 (assuming xPtr has the address of 105 and yptr has the address of 102 initially)
char x = Z
float y = 8;
char *xPtr =
float *yPtr =
xPtr++; //1
yPtr++; // 2
What will be the address of xptr and yptr respectively after the execution of statement 1 and statement 2 (assuming xPtr has the address of 105 and yptr has the address of 102 initially)
106, 106
107107
107106
None of the given options