0

Can someone example for me why am getting alphabets as output

#include<stdio.h> int main() { for(int i=65;i<=90;i++) { printf("%c\n",i); } return 0;

30th Mar 2021, 5:37 PM
Mohamed Adan
Mohamed Adan - avatar
5 Antworten
+ 2
Bucz you given c% that's why you got it
30th Mar 2021, 5:39 PM
Vivek_9
Vivek_9 - avatar
+ 2
The mapping between numbers and characters is defined in ASCII [http://www.asciitable.com] and likewise in the newer Unicode [https://unicode-table.com]
30th Mar 2021, 7:14 PM
Benjamin Jürgens
Benjamin Jürgens - avatar
+ 1
Give it as the %d
30th Mar 2021, 5:40 PM
Vivek_9
Vivek_9 - avatar
+ 1
You will get it num
30th Mar 2021, 5:40 PM
Vivek_9
Vivek_9 - avatar