You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
main.c: In function ‘main’:
main.c:12:5: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&pos);
^
registros.c: In function ‘MostrarRegistro’:
registros.c:9:8: warning: implicit declaration of function ‘printf’ [-Wimplicit-function-declaration]
printf("\n\tposicion del registro r%d:%d",i,registro[i]);
^
registros.c:9:8: warning: incompatible implicit declaration of built-in function ‘printf’
registros.c:12:5: warning: incompatible implicit declaration of built-in function ‘printf’
printf("\n\tLa posicion %d del registro contiene:%d",pos,registro[pos]);
^
registros.c:14:2: warning: ‘return’ with a value, in function returning void
return 0;
^
The text was updated successfully, but these errors were encountered:
Al compilar aparece los siguientes warnings:
main.c: In function ‘main’:
main.c:12:5: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&pos);
^
registros.c: In function ‘MostrarRegistro’:
registros.c:9:8: warning: implicit declaration of function ‘printf’ [-Wimplicit-function-declaration]
printf("\n\tposicion del registro r%d:%d",i,registro[i]);
^
registros.c:9:8: warning: incompatible implicit declaration of built-in function ‘printf’
registros.c:12:5: warning: incompatible implicit declaration of built-in function ‘printf’
printf("\n\tLa posicion %d del registro contiene:%d",pos,registro[pos]);
^
registros.c:14:2: warning: ‘return’ with a value, in function returning void
return 0;
^
The text was updated successfully, but these errors were encountered: