What will be the output of the following code?
#include <iostream> 
#include <string>
#include <cstring>
using namespace std; 
int main(int argc, char const *argv[])
{
 const char *a = "whats\0Up";
 cout<<a;
 return 0;
}


Posted on by