CS152
Chris Pollett
Sep 27, 2021
Which of the following statements is true?
/* Place into *s a new name beginning with the letter 'L' and continuing with the ASCII representation of a unique integer. Parameter s is assumed to point to space large enough to hold any such name; for the short int's used here, 7 characters suffice. */ void label_name (char *s) { static short int n; /* C guarantees that static locals are initialized to zero */ sprintf (s, "L%d\0", ++n); /* "print" formatted output to s */ }Each time it is called the string pointer will receive a different string beginning with L.