Consider the declaration
char street[10] = "abcdefghi";
Choose the correct remark(s)
A. | &street and street will have different values |
B. | &street is meaningless |
C. | &street+1 and street+1 will have the same values |
D. | None of the above |
Answer : D Explanation : &street and street will have the values which is the starting address of the street array. However. street is a pointer to the first character whereas &street is a pointer to the entire array. The incremented values of street and &street reflects this difference. |
|
Option: A Explanation : Explanation will come here. Explanation will come here. Explanation will come here. Explanation will come here. Explanation will come here. |