MSQ · 1 mark · C Programming

GATE CS 2026 CS-1 — Q27

Consider the following C statements:
char *str1 = "Hello; /* Statement S1 */
char *str2 = "Hello;"; /* Statement S2 */
int *str3 = "Hello"; /* Statement S3 */
Which of the following options is/are correct?
Select all correct options