SHARE
TWEET

Untitled

a guest Oct 21st, 2019 69 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <stdio.h>
  2. #include <string.h>
  3.  
  4. typedef int kk;
  5.  
  6.  
  7. typedef struct SuperHeroes{
  8.     char nombre[50];
  9.     int fuerza;
  10. }SuperHeroe;
  11.  
  12.  
  13. int main ()
  14. {
  15.     SuperHeroe superman;
  16.     SuperHeroe batman;
  17.    
  18.     strcpy(superman.nombre,"Superman");
  19.     superman.fuerza=1000;
  20.    
  21.     strcpy(batman.nombre,"Batman");
  22.     batman.fuerza = 10;
  23.    
  24.     kk variable1;
  25.  
  26.     variable1 = 5;
  27.  
  28.     printf("Ejemplo %d\n",variable1);
  29.  
  30.     getchar();
  31.     return 0;
  32. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top