Although it charconsists of 1 bytefor all the compilers I know, I have the impression that it Cdoes not guarantee the length char, it only guarantees that char < short < long. Therefore, I suggested that it sizeofmeasures its result in charto abstract from the platform on which it works. To make it more general, I thought it was size_tdefined in terms char.
But now, as far as I can see google search, it seems to sizeofreturn the result in bytes.
Was I completely mistaken in my assumption or is there anything more than that?
source
share