Thread
:
How do i display a '£' sign with puts of printf?
View Single Post
asadullah.ansari
TechCake
16Apr2009,18:38
Yes!! You are right... On DEV C++ V4.9.9.2. compiler Pound sign has ascii value of 156 and gcc has 163.
So Now you can try this.
Code:
#include<stdio.h> #include<conio.h> int main() { char ch=156; printf("%c",ch); getch(); return 0; }