#include &lt;iostream&gt;    using namespace std;    int main&#40;&#41;    &#123;        int n = 5;        void *p = &amp;n;        int *pi = static_cast&lt;int*&gt;&#40;p&#41;;        cout &lt;&lt; *pi &lt;&lt; endl;        return 0;    &#125;
A. 5
B. 6
C. compile time error
D. runtime error
Answer:A
#include &lt;iostream&gt;    using namespace std;    int main&#40;&#41;    &#123;        int n = 5;        void *p = &amp;n;        int *pi = static_cast&lt;int*&gt;&#40;p&#41;;        cout &lt;&lt; *pi &lt;&lt; endl;        return 0;    &#125;
A. 5 B. 6 C. compile time error D. runtime error
Explanation:We just casted this from void to int, so it prints 5