Family Day update
This commit is contained in:
parent
aac6731f2c
commit
9ad63ea473
2442 changed files with 39761 additions and 8255 deletions
16
Task/Inheritance-Multiple/C/inheritance-multiple.c
Normal file
16
Task/Inheritance-Multiple/C/inheritance-multiple.c
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
typedef struct{
|
||||
double focalLength;
|
||||
double resolution;
|
||||
double memory;
|
||||
}Camera;
|
||||
|
||||
typedef struct{
|
||||
double balance;
|
||||
double batteryLevel;
|
||||
char** contacts;
|
||||
}Phone;
|
||||
|
||||
typedef struct{
|
||||
Camera cameraSample;
|
||||
Phone phoneSample;
|
||||
}CameraPhone;
|
||||
Loading…
Add table
Add a link
Reference in a new issue