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

Viewing 1 reply thread
  • Author
    Posts
    • #2006
      Rashid Saleem
      Participant

      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.

Viewing 1 reply thread
  • The forum ‘C Programming’ is closed to new topics and replies.