Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<stdio.h>
- int main()
- //conversion between octal and hexa-decimal
- {
- int num;
- printf("Enter any Octal number : \n");
- scanf(" %o",&num);
- printf("hexa-decimal number: %x",num);/*hexadecimal is a positional numeral
- system with a radix, or base, of 16.*/
- getch();
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement