Home > Back-end >  Why can an 8-bit string literal contain multibyte characters while a vector of char cannot?
Why can an 8-bit string literal contain multibyte characters while a vector of char cannot?

Time:04-23

I am trying to figure out why can an 8-bit string literal contain multibyte characters while a vector of char cannot?

Let me better explain:
We can do this:

char chars[] = "           
  • Related