Definición de Arreglo


/ Published in: C
Save to your folder(s)

Definimos una estructura arreglo cuyo nombre es TIPOLIBROS y posee cuatro campos. Luego para hacer mención del mismo en el código definimos un alias que se llamara tlibro...


Copy this code and paste it in your HTML
  1. struct TIPOLIBROS{
  2. int codigo;
  3. int pagaginas;
  4. char autor[20];
  5. char editorial[20];
  6. };
  7.  
  8. typedef struct TIPOLIBROS tlibro;

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.