Consider the declarations
const char cc = 'h' ;
char *CP ;
const char *const ccpc = &CC;
char *const *cpcp ;
Which of the following statements
Statement I: cp = * cpcp ;
Statement II: * * cpcp = * cp ;
Statement III: * cp = * * cpcp ;
are legal?
A. | All are legal |
B. | All are illegal |
C. | Only statement I is illegal. |
D. | Statements I and III are illegal. |
Answer : A Explanation : |
|
Option: A Explanation : Explanation will come here. Explanation will come here. Explanation will come here. Explanation will come here. Explanation will come here. |