← All problemsSign in

OUTPUT 9

### Find the output of the following code and only write the correct option. Suppose the correct option is d, then ##### OUTPUT d ### CODE SNIPPET: ```c Fill the question mark to get "void pointer" as an output? #include int main(){ char *ptr = "void pointer"; void *vptr; ``` vptr = &ptr; ``` printf("%s" , ?); return 0; } ``` ### OPTIONS: ``` a. *(char**)vptr b. (char**)vptr c. *(char*)vptr

HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17

CodeSearch Tutor

Hints, not spoilers — it won’t hand over the full solution unless you insist.

voice by Sarvam AI

Sign in to chat with the tutor and save your progress.

Sign in to start