#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; }
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter