Now you can see that primitives are just memory mappings of the machine that specifies byte locations and how much bytes are used to represent a value...
Sir,I understood what you explained but I am unable to get the meaning of the statement which I just quoted,and just one confusion that in C we actually cannot divide two float values ,but in java ,we can do it ,so that means there must be some code present inside either the compiler which would actually tell which operations can be performed on a particular data type.
Also,Is there a need to consider primitive data types of system dependent and system independent languages.every language do contain primitive data types.primitive data types of system dependent languages like 'C' depend on systems architecture on the other hand primitive data types of system independent languages don't.
So basically the major query is around that how do primitive data types depend on the system architecture and actually inside a system,in which format are they present ,i.e is there some code defined for these primitive data types,.
One more thing which I would like to put forward is that I just wrote one program in C for checking the size of an integer variable,so in one of the compiler I got the output to be 2 bytes and in other compiler ,the output was 4 bytes,so basically how is that different compilers show different outputs,so that raises more curioisty in actually identifying how do primitive data types actually dealt inside a system.