#include &lt;iostream&gt;    using namespace std;    void print &#40;char * a&#41;    &#123;        cout &lt;&lt; a &lt;&lt; endl;    &#125;    int main &#40;&#41;    &#123;        const char * a = &quot;Hello world&quot;;        print&#40;const_cast&lt;char *&gt; &#40;a&#41; &#41;;        return 0;    &#125;
A. Hello world
B. Hello
C. world
D. compile time error
Answer:A
#include &lt;iostream&gt;    using namespace std;    void print &#40;char * a&#41;    &#123;        cout &lt;&lt; a &lt;&lt; endl;    &#125;    int main &#40;&#41;    &#123;        const char * a = &quot;Hello world&quot;;        print&#40;const_cast&lt;char *&gt; &#40;a&#41; &#41;;        return 0;    &#125;
A. Hello world B. Hello C. world D. compile time error
Explanation:In this program we used the concept of constant casting to cast the variable and printing it.