Saturday, January 21, 2012

Binary Addition

Implement a function that performs binary addition. Input to the function is two const strings. The function returns a string that holds the result of addition.
char* binaryadd(const char* a, const char* b) { }
Eg. "1001"+"101"="1110"


Useful Links:
http://www.careercup.com/question?id=10353662

No comments:

Post a Comment