Question: Write a program to Add two Binary numbers Using functions,arrays and pointers. Instructions. Take 2 binary numbers from user using arrays,you can specify the bits

Write a program to Add two Binary numbers Using functions,arrays and pointers. Instructions. Take 2 binary numbers from user using arrays,you can specify the bits like 3 bits or 4 bits If numbers are in Binary then add them through a function(named:BinaryAddition) If numbers are in decimal,then covert them in binary through a function(Named:BinaryConversion) and pass the function to BinaryAddition Result should display through a function(Named:DisplayResult) Use of pointers mandatory( You can use anywhere in program)

Example: output may be like this Please enter the number 1 0101 Please enter the number 2 0011 The sum of binary numbers is 1000 Example: Please enter the number 1 12 Please enter the number 2 56 The sum of binary numbers is 1000100

c++ language

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!