Considering I have the following program that determines the size of multibyte characters.
#include<iostream>
int main()
{
std::cout<<"size of multibyte characters : "<<sizeof('ab')<<std::endl;
}
My GCC compiler gives an output of 4.
So I have the following questions:
- What is the size of multibyte characters literal?
- Is
sizeof('ab')equal tosizeof(int)?