Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <string.h>
- int main()
- {
- char vet[99];
- fgets(vet,98,stdin);
- int tamanho=strlen(vet);
- for(int i=0;i<tamanho-1;i++){
- printf("%p %c\n", vet+i,vet[i]);
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment