Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Type struct
#include <stdio.h> typedef struct { int dia; int mes; } tipoFecha; typedef struct { char nombre[20]; tipoFecha fechaNac; } cumpleAmigos; int main() { cumpleAmigos amiga = {"Silvana",{16,6}}; printf("Cumpleaños de %s es %d/%d\n",amiga.nombre,amiga.fechaNac.dia,amiga .fechaNac.mes); cumpleAmigos *ptr; ptr = &amiga; printf("Cumpleaños de %s es %d/%d\n",ptr->nombre,ptr->fechaNac.dia,ptr->fechaNac.mes); return 0; }
run
|
edit
|
history
|
help
0
bitwise_operation__end-of-class
150109_RecursividadParImpar
C programming example for a Person struct and typedef (from ECE 2534)
Test2
2.1 Comparision of Matrix Transpose Execution Time
MatrixMul_shortxshort
acepta el reto 146
array practice
mohan
B_141202_CONTADORPALABRAS