#include
#include
extern void rotate_right(unsigned long int);
extern char* print2(unsigned long int);
extern char* print16(unsigned long int);
extern short long_width(void);
void main()
{
unsigned long int st_no=951xxx32;
cout << `1* Unsigned long integer`s bit range is ` << long_width() << `\\n\\n`
;
cout << `2* Student no. is : ` << st_no << `\\n\\n`;
cout << ` ` << st_no << `(10) is ` << print16(st_no) << `(16)\\n`;
cout << ` ` << st_no << `(10) is ` << print2(st_no) << `(2)\\n\\n`;
cout << `3* Rotation-Right from ` << st_no << ` by bitwise operator.\\n \n`;
rotate_right(st_no);
}
3. -------------------------------------------------------
// function long_width()
//
// Coded at 04-03-1996
short long_width(void)
{
short int count=0;
unsigned long int i;
for (i¡¦(»ý·«)
|