Advertisement
Guest User

Untitled

a guest
Oct 13th, 2019
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.59 KB | None | 0 0
  1. /******************************************************************************
  2.  
  3. Online C Compiler.
  4. Code, Compile, Run and Debug C program online.
  5. Write your code in this editor and press "Run" button to compile and execute it.
  6.  
  7. *******************************************************************************/
  8.  
  9. #include <stdio.h>
  10.  
  11. int main()
  12. {
  13. unsigned short u = 255u;
  14. printf("unsigned short u is %d\n" , u);
  15. char v = u;
  16. printf("char v is %d\n" , v);
  17. short x = -7;
  18. printf("short x is %d\n" , x);
  19. return 0;
  20. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement