Printf like this
Thu Apr 11 2024 08:31:15 GMT+0000 (Coordinated Universal Time)
Saved by
@HTPrince
#include<stdio.h>
#include<stdlib.h>
#include<stdbool.h>
int main(){
int x = 3;
double y = 3.589;
float f = 5.6;
char c = 'A';
_Bool b = true;//stdbool.h
char name[] = "HT Prince";
printf("x = %d\ny = %.2lf\nf = %f\nc = %c\nb = %d\nname = %s\n",x,y,f,c,b,name);
printf("Hello your name is: %s",name);
return 0;
}
content_copyCOPY
Comments