Program for print , int, long int, float and char in c language
Program for print , int, long int, float and char in c language
Program:-
#include<stdio.h>
#include<conio.h>
main()
{
int a=90;
long b=87493798;
float c=6.8;
char d[12]="Roshan ";
clrscr();
printf("value of a is %i\n",a);
printf("value of b is %li\n",b);
printf("value of c is %.2f\n",c);
printf("value of d is %s\n",d);
getch();
}
No comments
Post a Comment