Posts by Ivlivs Caesare • 11 points
2 posts
-
0
votes3
answers8270
viewsA: Convert natural number to binary recursively
void questao3(int i) { if (i > 1) { questao3(i / 2); if (i) printf("%d", i % 2); } if ((i == 1) || (!i)) printf("%d", i); }
-
1
votes2
answers1519
viewsA: How to compare two chained lists in C?
#include <string.h> #include <strings.h> #include <stdio.h> #include <conio.h> #include <stdlib.h> typedef struct No { int…