#include <stdio.h>
main()
{
printf("Integer values\n");
printf("%d%d%d\n", 32767,32767+1,32767+10);
printf("\n");
printf("Long integer values\n\n");
printf("%ld%ld%ld\n", 32767L, 32767L+1L, 32767L+10L);
return 0;
}
Output:
Integer values
32767 -32768 -32759
Long integer values
32767 32768 32777
Hi, I'm Moinuddin. I'm a Software Engineer at WIPRO working on Microsoft .NET Technology. I'm interested in a wide range of technology topics, mainly Microsoft including Windows Azure, WCF, WPF, Silverlight and any other cool technology that catches the eye.
0 comments:
Post a Comment