+ 1

Can double, long or short be used without int or data types? If no wat r their data types pls?

24th Dec 2016, 8:29 AM
Michael Dogbey
Michael Dogbey - avatar
2 Respostas
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.....
25th Dec 2016, 10:56 AM
Dhairya Karna
Dhairya Karna - avatar
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.
5th Feb 2017, 8:08 PM
Elijah
Elijah - avatar