1.

What type of initialization is needed for the segment “ptr[3] = ‘3’;” to work?$

A. char *ptr = “Hello!”;
B. char ptr[] = “Hello!”;
C. both char *ptr = “Hello!”; and char ptr[] = “Hello!”;
D. none of the mentioned
Answer» C. both char *ptr = ‚Äö√Ñ√∂‚àö√ë‚àö‚à´Hello!‚Äö√Ñ√∂‚àö√ë‚àöœÄ; and char ptr[] = ‚Äö√Ñ√∂‚àö√ë‚àö‚à´Hello!‚Äö√Ñ√∂‚àö√ë‚àöœÄ;


Discussion

No Comment Found