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
18BCE2182 ASSESS_1 Q1-8
tgo
Sunday assignment v2
18BCE2182 ASSESS_1 Q2-2
pseudo hw v.05
funciones serie de taylor
22nd HW Switchv0.24
% with negative numerator and positive denominator (gcc)
summing long int
1, 2, 3, & 4-layer neural networks in C