C Style Strings in Arrays - C++ Data Type

C++ examples for Data Type:char array

Description

C Style Strings in Arrays

Demo Code

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

Result


Related Tutorials