/*This is a program to demostrate the type qualifires*/
#include<stdio.h>
#include<conio.h>
void main()
{
int i=10;
signed int si=-100;
unsigned int ui=400;
short int sii=5;
long int li=30000;
signed short int ssi=30;
unsigned short int usi=78;
signed long int sli=1000000;
unsigned long int uli=4000000;
float f=3.3;
double d=1000.88;
long double ld=4000.833;
char c='A';
signed char sc='2';
unsigned char uc='t';
printf("\n\nDemonstration of type Qualifires");
printf("\n\n1.Int = %d",i);
printf("\n\n2.Signed Int = %d",si);
printf("\n\n3.UnSigned Int = %d",ui);
printf("\n\n4.Short Int = %d",sii);
printf("\n\n5.Long Int = %d",li);
printf("\n\n6.Signed Short Int = %d",ssi);
printf("\n\n7.UnSigned Short Int = %d",usi);
printf("\n\n8.Signed Long Int = %d",sli);
printf("\n\n9.UnSigned Long Int = %d",uli);
printf("\n\n10.Float = %f",f);
printf("\n\n11. Double = %f",d);
printf("\n\n12.Long Double = %f",ld);
printf("\n\n13.Char = %c",c);
printf("\n\n14.Signed Char = %c",sc);
printf("\n\n15.UnSigned Char = %d",uc);
getch();
}
#include<stdio.h>
#include<conio.h>
void main()
{
int i=10;
signed int si=-100;
unsigned int ui=400;
short int sii=5;
long int li=30000;
signed short int ssi=30;
unsigned short int usi=78;
signed long int sli=1000000;
unsigned long int uli=4000000;
float f=3.3;
double d=1000.88;
long double ld=4000.833;
char c='A';
signed char sc='2';
unsigned char uc='t';
printf("\n\nDemonstration of type Qualifires");
printf("\n\n1.Int = %d",i);
printf("\n\n2.Signed Int = %d",si);
printf("\n\n3.UnSigned Int = %d",ui);
printf("\n\n4.Short Int = %d",sii);
printf("\n\n5.Long Int = %d",li);
printf("\n\n6.Signed Short Int = %d",ssi);
printf("\n\n7.UnSigned Short Int = %d",usi);
printf("\n\n8.Signed Long Int = %d",sli);
printf("\n\n9.UnSigned Long Int = %d",uli);
printf("\n\n10.Float = %f",f);
printf("\n\n11. Double = %f",d);
printf("\n\n12.Long Double = %f",ld);
printf("\n\n13.Char = %c",c);
printf("\n\n14.Signed Char = %c",sc);
printf("\n\n15.UnSigned Char = %d",uc);
getch();
}