For example java has 8 primitive types as documented by Oracle.
boolean, byte, short, char, int, long, float, double
C appears to have many, many types, but what if any are considered primitive types. Please list them for the answer.
I tried to find a solid reference similar to Oracle but for C, but could not.
Wikipedia maintains an obtuse list of "main types", but I'm not sure if they are relevant.
W3Schools simplifies this and lists "basic types", but I'm also not sure if this is relevant.
Unfortunately, there is not a cohesive set of vocabulary to extend across multiple languages.
Java's primitive types distinguish them from object types or reference types.
While C has many many types, the closest, to Java's primitive types are the main types.
The languages do different things and hence have different groupings for their types and the types are different themselves.
An int in C might be 2 bytes for an embedded system, but in Java it is always 4 bytes.