C++ programming language part- 75 Representing a Node
Representing a Node
Program 50_1
//linkedList
node.demo
class
node
{
char
name[10];
public:
void
accept()
{
cout<
cin>>name;
}
void
display()
{
cout<
}
};
main()
{
node
L;
L.accept();
//L.accept();
//L.display();
L.display();
}