+ 1

Please explain this program output?

#include <stdio.h> int main() { char*str="↔⬆🙂12345"; printf("%d",*str ); return 0; } //output -30

13th Feb 2020, 5:24 PM
Prathvi
Prathvi - avatar
1 Answer
+ 6
Print the integer value of ther first character in str.
13th Feb 2020, 5:45 PM
Kevin â˜