Posts by Alex • 236 points
2 posts
-
11
votes2
answers925
viewsA: How do C’s hands work?
What is the difference between declaring: char* s and char *s? None. Aesthetics, only. It’s less confusing to write: char *s, *r than char* s, *r, p.and. 2º It is always necessary to use the malloc…
-
1
votes1
answer485
viewsA: Doubt with binary tree
A binary tree is represented in an array as follows: [father, left son, right son, ...]. More precisely, the father’s Dice is worth (i - 1) / 2, left son’s 2*i + 1 and that of law 2*i + 2.…