Quantcast
Channel: CodeChef Discuss - latest questions
Viewing all articles
Browse latest Browse all 40121

the following code does not insert 2nd element ?why>

$
0
0

void insertFirst(int d){ Node* temp=new Node(); temp->data=d; temp->next=head; head=temp; }


Viewing all articles
Browse latest Browse all 40121


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>