Joined
Last Seen
-1 Reputation Points
- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
0% Quality Score
- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 3
- Posts with Downvotes
- 1
- Downvoting Members
- 3
0 Endorsements
Ranked #107.73K
1 Posted Topic
#include<stdio.h> #include<conio.h> #include<string.h> void dec2bin(long decimal, char *binary) { int k=0, n=0; char neg_flag = '0'; int remain; int old_decimal; // for test char temp[100]; printf("-------------------------------\nCalculating Binary value for %d\n\n", decimal); // take care of minus input if(decimal < 0) { decimal = -decimal; neg_flag = '1'; } do { …
The End.
Rajkumarautit