Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Semana 1 #1

Open
ghost opened this issue Aug 23, 2015 · 0 comments
Open

Semana 1 #1

ghost opened this issue Aug 23, 2015 · 0 comments

Comments

@ghost
Copy link

ghost commented Aug 23, 2015

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;
^

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants