Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /******************************************************************************
- Online C Compiler.
- Code, Compile, Run and Debug C program online.
- Write your code in this editor and press "Run" button to compile and execute it.
- *******************************************************************************/
- #include <stdio.h>
- int main()
- {
- unsigned short u = 255u;
- printf("unsigned short u is %d\n" , u);
- char v = u;
- printf("char v is %d\n" , v);
- short x = -7;
- printf("short x is %d\n" , x);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement