C++ char array Initialized string

Description

C++ char array Initialized string

#include <iostream>
using namespace std;
int main()/*w w w  .jav  a2 s  .c  om*/
{
   char str[] = "Farewell! thou art too dear for my possessing.";
   cout << str << endl;
   return 0;
}



PreviousNext

Related