123456789101112131415161718192021222324252627
#include<iostream> using namespace std; class LinkedList { private: struct ListNode { char value; ListNode *next; }; ListNode *head; // head pontier public: LinkedList() {head = NULL;} // constructor void insert(char); }; int main() { LinkedList l; l.insert("t"); l.insert("c"); l.insert("a");
"t"
const char *
char
't'