Program:- # include<stdio.h> void main() { int a=86; float b=1.5; double c=86.66666; char d='p'; printf("int value is:%d",a); printf("\nfloat value is:%f",b); printf("\ndouble value is:%lf",c); printf("\nchar value is:%c",d); } Output:-
No comments:
Post a Comment