Posts by Dyego Magno • 79 points
3 posts
-
0
votes2
answers45
viewsA: Use of cinnamon in macros
You make use of macro to check if the value of x is even. Also, it makes use of ternary operator, which is an alternative to replace the if-lse. Well, remembering the syntax of this operator, we…
-
2
votes1
answer211
viewsA: Pointer Statement in a struct and calling it in function
Bruno, beauty? the/ Your logic is excellent. Except that the way you defined some things caused certain type incompatibilities. Before we proceed, you really need to work with global variables? If…
-
2
votes1
answer119
viewsA: Program has memory junk 2 in C
Matheus, beauty? the/ So your code has some syntax errors that harm the implemented logic. I’ll list them: i. Inappropriate use of the semicolon character maior = func[0].salario;; ii. Calling a…