Mcq pointers issue

please give in detail solution for second,fourth,eighth question of the mcq.in second question,why the other statements are wrong and the third one valid?
in fourth question,how its memory leak and not other options like dangling pointer?
in eighth question,why is it not compiling?what changes have to be made to the program so it can compile?

@Rj.25 For quest 4. refer this MCQ Pointers Question

For Q.8 answer must be No as "The C standard doesn’t allow pointer arithmetic with void pointers. "…here value of k was being incremented.

https://www.geeksforgeeks.org/void-pointer-c-cpp/ 3d
For question 2 and 8…read this article.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.