For this same program c++11 return 2 1 2, but for c++14 return 2 1 1 to me. I am confused..
#include <iostream>
#include <string>
using namespace std;
int main()
{
char a[2];
cout << sizeof(a) << endl;
std::string b("a");
cout << b.size() << endl;
char c[b.size() + 1];
cout << sizeof(c) << endl;
return 0;
}