C++ string via char array using NULL Terminator

Description

C++ string via char array using NULL Terminator

#include <iostream> 
  
using namespace std; 
  
int main(int argc, char *argv [])
{ 
        char* cStyleString = "CStyleString"; 
        cout << (cStyleString[12] == '\0') << endl; 
  
        return 0; 
}



PreviousNext

Related