fr

Daily Challenge 🗓️

Your daily dose of technical intelligence to shine in (developer) society.

Discover a software development quiz per day with its detailed correction.

Frontend, Backend, Mobile, Data, Web, AI, Infra... Everything that can be coded!

Tuesday 16 September 2025

-

C++

C++ #10/36

Give the result of the execution of the following code (1 correct answer only):

char s1[]="abc";

char s2[]="def";

printf("%sn", s1+s2);

Author: Abha AgrawaStatus: PublishedQuestion passed 491 times
0
Reviews from developers
developer avatar
Auteur anonyme
12/10/2021
Je n'ai pas vu que c'était chronométré. Il faut prévenir ou l'afficher en grand ! La bonne réponse est "plante, ne s'execute pas, ... ne compile pas"
developer avatar
Auteur anonyme
20/10/2021
Bonjour Christophe, désolé pour le chronomètre. Normalement c'est bien indiqué au début du QCM.
developer avatar
Auteur anonyme
20/10/2021
Pas vu ...Et puis je dois avoir un écran trop grand. Ça met le chrono dans un coin, loin, loin ...
developer avatar
Auteur anonyme
20/10/2021
Ok je vais remonter le soucis ! On va voir si on peut faire mieux :)

About Daily Challenge 🗓️

From Monday to Friday, discover each day a quiz question with its detailed answer to enrich your tech knowledge. The questions are proposed by the WeLoveDevs.com community: experienced developers, trainers and freelancers.WeLoveDevs.com helps developers to find their dream job. We also provide over 50 free technical tests in different technologies for those of you who would like to test your knowledge.

History

    ⚠️
    Your browser is badly|not supported!
    We recommend you to use a more modern browser such as Edge, Chrome or Firefox
    Know More