#include <stdio.h>
int main(void) {
char nomeSobrenome[40] = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx";
printf("Insira seu nome e seu sobrenome:\n"); scanf("%[A-Z a-z 0-9 !-_]s", nomeSobrenome
); printf("%s\n", nomeSobrenome
); for (int i
= 0; i
< 40; i
++) printf("%c = %d\n", nomeSobrenome
[i
], nomeSobrenome
[i
]); }
//https://pt.stackoverflow.com/q/327101/101
I2luY2x1ZGUgPHN0ZGlvLmg+CgppbnQgbWFpbih2b2lkKSB7CiAgICBjaGFyIG5vbWVTb2JyZW5vbWVbNDBdID0gInh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eCI7CiAgICBwcmludGYoIkluc2lyYSBzZXUgbm9tZSBlIHNldSBzb2JyZW5vbWU6XG4iKTsKICAgIHNjYW5mKCIlW0EtWiBhLXogMC05ICEtX11zIiwgbm9tZVNvYnJlbm9tZSk7CiAgICBwcmludGYoIiVzXG4iLCBub21lU29icmVub21lKTsKICAgIGZvciAoaW50IGkgPSAwOyBpIDwgNDA7IGkrKykgcHJpbnRmKCIlYyA9ICVkXG4iLCBub21lU29icmVub21lW2ldLCBub21lU29icmVub21lW2ldKTsKfQoKLy9odHRwczovL3B0LnN0YWNrb3ZlcmZsb3cuY29tL3EvMzI3MTAxLzEwMQ==