How is the output 83 e | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
+ 4

How is the output 83 e

How is correct output of below code is “83 e” char str = "%d %c",arr[]="Sololearn"; printf(str,0[arr],2[arr+3]);

22nd Jun 2019, 6:24 PM
Gurvinder Singh Maanak
Gurvinder Singh Maanak - avatar
1 Réponse
+ 4
%d convert the value to an integer and %c is the character specifier, but am not sure you're writing it correctly
22nd Jun 2019, 6:57 PM
✳AsterisK✳
✳AsterisK✳ - avatar