give one example of a primitive and a composite data type
Answers
Answered by
0
Answer:
Primitives are things like integer / fractional numbers, characters, booleans, etc. Composite is when you combine those into a single “entity” containing or merging them. E.g. a struct containing an int for an ID, an array of chars (a string) for the name, etc. may be used to record an Emproyee's data.
Answered by
0
Answer:
HEY MATE HERE IS YOUR ANSWER
/\|<{}[]■■■》》》》Primitives are things like integer / fractional numbers, characters, booleans, etc. Composite is when you combine those into a single “entity” containing or merging them. E.g. a struct containing an int for an ID, an array of chars (a string) for the name, etc.
Similar questions