Write a program in c to find the symbol for the ASCII code 36. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Write a program in c to find the symbol for the ASCII code 36.

I know to solve the character one but how to solve this one please do tell me!

1st Nov 2021, 2:45 PM
Giggling_ddl.
5 Answers
0
#include <stdio.h> int main () { int a=36; printf("ASCII symbol of a is %c",a); return 0; }
2nd Nov 2021, 8:47 PM
Jean
+ 1
Its simple just u need to do reverse if u know how to change char to int then int to char is also easy u just need to change data types and format specifiers nothing else or simply you can do type casting
1st Nov 2021, 7:12 PM
A S Raghuvanshi
A S Raghuvanshi - avatar
+ 1
Or- #include <stdio.h> int main() { printf ("%c",36); return 0; }
3rd Nov 2021, 4:35 AM
Giggling_ddl.
0
printf("%c",36);
1st Nov 2021, 6:18 PM
Bahhaⵣ
Bahhaⵣ - avatar
0
Hjk
3rd Nov 2021, 2:06 PM
Sohit Ranjan