#include<stdio.h> #include<stdlib.h> #define PI 3.14 int main(){ const int x=5; double y=3.0; y=PI; printf("x=%d\n",x); printf("y=%lf\n",y); printf("the address of y in memory is:%p",&y); 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