How to Print Special characters( eg smiley face )?

Home Forums C Programming How to Print Special characters( eg smiley face )?

This topic contains 1 reply, has 2 voices, and was last updated by  msaqib 10 years, 2 months ago.

  • Author
    Posts
  • #2006

    How can we print the special characters in c language?

    Someone told me to use ALT+Ascii code but it does not work. I am using Turbo c++ compiler.

  • #3254

    msaqib
    Participant

    Hello
    Printing the special characters using C language is quite easy. All you need is to know the ASCII value of that special character and print out that character on the screen.
    Here is a small program that will print the special characters using c language. You just have to print the ASCII value of that special character.

You must be logged in to reply to this topic.

0 Shares
Share
+1
Tweet
Share
Stumble