include iostream using namespace std void main char chars for int char

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
#include <iostream>
using namespace std;
void main()
{
char chars[5] = "'m', 'a', 'x', '!'";
for(int i = 0; (i < 5) && (chars[i] != '\0'); i++)
cout << chars[i] << " ";
cin.get();
}