Skip to content

TP4 - Ejercicio 2 #73

Sep 15, 2024 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

Fijate de no estar comparando punteros a enteros con enteros en sí, si la función devuelve el puntero a la dirección de memoria del elemento de mayor valor, entonces tenés que compararlo con tu entero con el *

if ((*mi_puntero) == mi_prediccion)

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@martinvilu
Comment options

Answer selected by Clirussa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants