Lecture 53
Array
// Double Dimensional Array
#include <iostream>
#include <conio.h>
using namespace std;
main ()
{
static char
*list[2]={"Shahid","Iqbal"};
cout<<"First Name: "<<list[0];
cout<<"\nSecond Name : "<<list[1];
getch();
return 0;
}
Code view in dev compiler:
Compile the program Ctrl+F9
Run program Ctrl+F10