Sobes.tech
Junior — Senior

Determining the output of a program with a stringification macro

livecode

Task condition

It is necessary to understand what text will be printed when executing the following code.

# include <stdio.h>

# define str(s)  #s

int main() {
    const char *xyz = "123";
    printf("%s\n", str(xyz));
    return 0;
}