Guest User

Untitled

a guest
Apr 23rd, 2018
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.69 KB | None | 0 0
  1. #include <stdio.h>
  2.  
  3. typedef struct{
  4.     int num_serie;
  5. } num_serv_sec;
  6.  
  7. typedef struct{
  8.     char nome [100];
  9.     int dia_nasc;
  10.     int mes_nasc;
  11.     int ano_nasc;
  12.     int altura;
  13.     char olhos [100];
  14.     char cabelo [100];
  15. } info_pessoal;
  16.  
  17. typedef struct{
  18.     int bi;
  19.     int contribuinte;
  20.     int seg_social;
  21.     int carta_cond;
  22. } info_numer;
  23.  
  24. typedef struct{
  25.     char rua [100];
  26.     int cod_postal1;
  27.     int cod_postal2;
  28.     char cod_postal3 [100];
  29. } morada;
  30.  
  31. typedef struct{
  32.     char partido [100];
  33.     char clube [100];
  34. } confid;
  35.  
  36. typedef struct{
  37.     struct num_serv_sec nss;
  38.     struct info_pessoal infp;
  39.     struct info_numer infn;
  40.     struct morada address;
  41.     struct confid clubes;
  42. } cidadao;
  43.  
  44. main(){
  45.     printf("\nYO");
  46. }
Add Comment
Please, Sign In to add comment