[box]

Ans.

class Directory

{ char Name[20];

char Address[30];

char AreaCode[5];

char Phone_No[15];

public:

void Register();

void Show();

int CheckCode(char AC[])

{ return strcmp(AreaCode,AC); }

};

[/box]
Rate Us
error: Content is protected !!