Advertisement
Guest User

Untitled

a guest
Oct 15th, 2019
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.62 KB | None | 0 0
  1. int main()
  2. {
  3. int in=-42;
  4. long lon=12;
  5. char cha='R';
  6. short shor=8;
  7. float floa=6.6;
  8. double doubl=23;
  9. long long lonlon=19;
  10. unsigned int unsignein=46;
  11. unsigned long unsignelon=24;
  12. unsigned short unsigneshor=43;
  13. unsigned long long unsignelonlon=345;
  14. printf("%d\n",in);
  15. printf("%li\n",lon);
  16. printf("%c\n",cha);
  17. printf("%hi\n",shor);
  18. printf("%f\n",floa);
  19. printf("%lf\n",doubl);
  20. printf("%lli\n",lonlon);
  21. printf("%u\n",unsignein);
  22. printf("%lu\n",unsignelon);
  23. printf("%hu\n",unsigneshor);
  24. printf("%llu\n",unsignelonlon);
  25. return 0;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement