Interviews Questions, Algorithms, Aptitude, C Interview Program, C Theory Question, Aptitude Tricks, Test Series,

Tuesday, 14 May 2019

Conversion

Question:

CASE 1:
Write a program for Binary to decimal conversion

CASE 2: 
Write a program for Decimal to binary conversion 
CASE 3:
Write a program for Binary to octal conversion 
CASE 4:
Write a program for Octal to binary conversion 
CASE 5:
Write a program for Decimal to octal conversion 
CASE 6:
Write a program for Octal to decimal conversion

Solution:


CASE 1:






CASE 2:


CASE 3:








CASE 4:













CASE 5: 

CASE 6:

0 comments:

Post a Comment