0

#include <stdio.h> int main() { printf("\x61"); return 0; }

What is output and how

27th Dec 2018, 2:50 AM
Abdul Rahman Khan
Abdul Rahman Khan - avatar
5 odpowiedzi
+ 11
Abdul Rahman Khan \x is used to denote hexadecimal value and \x61 is ascii value of 'a' so it is get printed
27th Dec 2018, 3:19 AM
GAWEN STEASY
GAWEN STEASY - avatar
+ 9
Abdul Rahman Khan its in hexa decimal ascii value of a, http://defindit.com/ascii.html
27th Dec 2018, 3:24 AM
GAWEN STEASY
GAWEN STEASY - avatar
+ 3
Hexadecimal acci value so it give a in output 👍
12th Oct 2020, 5:07 AM
Kanchan Dixit
Kanchan Dixit - avatar
+ 1
But ASCII value of a is 97
27th Dec 2018, 3:22 AM
Abdul Rahman Khan
Abdul Rahman Khan - avatar
+ 1
Thanks
27th Dec 2018, 3:29 AM
Abdul Rahman Khan
Abdul Rahman Khan - avatar