#include<stdio.h>
#include<stdlib.h>
struct endereco {
char rua[50];
int numero;
};
struct cadastro {
char nome[50];
int idade;
struct endereco ender;
};
int main(int argc, char const *argv[]) {
struct cadastro c;
scanf("%50[^\n]",c.
nome); scanf(" %50[^\n]",c.
ender.
rua); scanf("%d",&c.
ender.
numero);
printf("\n\nNome: %s\nIdade: %d\nRua: %s\nNumero: %d", c.
nome, c.
idade, c.
ender.
rua, c.
ender.
numero);
return 0;
}
I2luY2x1ZGU8c3RkaW8uaD4KI2luY2x1ZGU8c3RkbGliLmg+CgpzdHJ1Y3QgZW5kZXJlY28gewogICAgY2hhciBydWFbNTBdOwogICAgaW50IG51bWVybzsKfTsKc3RydWN0IGNhZGFzdHJvIHsKICAgIGNoYXIgbm9tZVs1MF07CiAgICBpbnQgaWRhZGU7CiAgICBzdHJ1Y3QgZW5kZXJlY28gZW5kZXI7Cn07CmludCBtYWluKGludCBhcmdjLCBjaGFyIGNvbnN0ICphcmd2W10pIHsKICAgIHN0cnVjdCBjYWRhc3RybyBjOwoKICAgIHByaW50ZigiTm9tZS0+ICIpOwogICAgc2NhbmYoIiU1MFteXG5dIixjLm5vbWUpOwogICAgcHJpbnRmKCJJZGFkZS0+ICIpOwogICAgc2NhbmYoIiVkIiwmYy5pZGFkZSk7CiAgICBwcmludGYoIlJ1YS0+ICIpOwogICAgc2NhbmYoIiAlNTBbXlxuXSIsYy5lbmRlci5ydWEpOwogICAgcHJpbnRmKCJOdW1lcm8tPiAiKTsKICAgIHNjYW5mKCIlZCIsJmMuZW5kZXIubnVtZXJvKTsKICAgIAogICAgcHJpbnRmKCJcblxuTm9tZTogJXNcbklkYWRlOiAlZFxuUnVhOiAlc1xuTnVtZXJvOiAlZCIsIGMubm9tZSwgYy5pZGFkZSwgYy5lbmRlci5ydWEsIGMuZW5kZXIubnVtZXJvKTsKCiAgICByZXR1cm4gMDsKfQo=