Hi guys!
I am haivng a little problem in code::blocks
here is the code:
#include <iostream>
#include <string>
using namespace std;
int main()
{
    string list[] = {"one", "two", "three"};
    int index = 0;
    while(index < 4)
    {
        cout << list[index];
        index ++;
    }
   
    return 0;
}
Getting Error : Segmentation Fault .
I am using Linux mint 17.1