#include<stdio.h> int main(){ long int decimalNumber; printf("Enter any decimal number : "); scanf("%d",&decimalNumber); printf("Equivalent octal number is: %o",decimalNumber); return 0; }
Filled Under
C
Easy way to convert decimal number to octal number in c
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.