Showing posts with label unsigned. Show all posts
Showing posts with label unsigned. Show all posts

Monday, November 18, 2013

Signed and Unsigned Binary addition

In this program, addition of the entered number was performed. The entered number may be signed or unsigned (positive or negative). After the addition, the output was displayed in the binary as well as in decimal.

Binary Addition

 
/**
//By: www.subirank.com (Suresh Ghatuwa)
//Binary Addition Using C Program
*/
#include<stdio.h>
#include<conio.h>
#include<math.h>
//Input the data function
int get()
{
int flag=0;
int a;
do
{