http://technotip.com/7006/c-program-t...
Lets write a C program to convert a number from Decimal number system(base 10) to Octal number system(base 8), using while loop.
Expected Output for the Input
User Input:
Enter a decimal number
20
Output:
Octal equivalent of 20 is 24.
Explanation:
If user enters num = 20
We keep on dividing the number 20 by 8.
20 / 8 = 2, reminder 4.
02 / 8 = 0, reminder 2.
So Octal equivalent of decimal number 20 is 24.
C Programming Interview / Viva Q&A List
http://technotip.com/6378/c-programmi...
C Programming: Beginner To Advance To Expert
http://technotip.com/6086/c-programmi...
In questa pagina del sito puoi guardare il video online C Program To Convert Decimal Number To Octal Number, using While Loop della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Technotip 24 gennaio 2020, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 15,250 volte e gli è piaciuto 222 spettatori. Buona visione!