Question d’entretien chez Arista Networks

1. Predict output of different printf() variations, like char* str = "12345" printf("%d", str); printf("%d", *str); printf("%c", str); printf("%c", *str); printf("%s", str); printf("%s", *str);

Réponse à la question d'entretien

Utilisateur anonyme

2 août 2024

Failed properly predict for some of them, but managed to answer later, after seeing program output.

1