Simple Data type Program

Sunday, 28 August 2011

#include<stdio.h>
#include<conio.h>
void main()
{
char ch1,ch2,ch3,ch4;
clrscr();


ch1='+';
ch2='-';
ch3='*';
ch4='/';


printf("ch1=%d\tch2=%d\tch3=%d\tch4=%d",ch1,ch2,ch3,ch4);
getch();
}


OUTPUT:

ch1=43   ch2=45   ch3=42   ch4=47


2 comments

  1. Do you have a spam problem on this blog; I also am a blogger, and I was curious about your situation;
    many of us have created some nice methods and we are looking to swap methods with other folks, please shoot me
    an email if interested.

    Also visit my homepage :: kisumu

    ReplyDelete
  2. Hey would you mind letting me know which web host you're utilizing? I've loaded your
    blog in 3 different web browsers and I must say this blog loads a lot faster then most.
    Can you recommend a good internet hosting provider at a honest price?

    Kudos, I appreciate it!

    Here is my blog post :: torrespico

    ReplyDelete

 

Blogger news

Blogroll

Enter your email address:

Delivered by FeedBurner

Total Pageviews

Followers

Most Reading