+ 1
Can double, long or short be used without int or data types? If no wat r their data types pls?
2 Réponses
0
None of them require any data type as double is a data type in itself and the rest just define the size of the bytes to be stored in a block.....
0
There are 7 data types which include integer , character, float, double, void, wide character and Boolean whose keywords are int, char, float, double ,void, wchar_t and bool respectively . For the long and short are keywords called modifiers.
example an int is made to only hold 2 bytes of data and we can double its memory if we make it "long int". other modifiers include: signed and unsigned and these are numbers with signs and no signs respectively.
I hope I have been of help.