Advertisement
shohan11421

part (B) b ar 3 no

Mar 2nd, 2018
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.14 KB | None | 0 0
  1. int count()
  2. {
  3.     temp = head;
  4.     int cnt = 0;
  5.     while(temp)
  6.     {
  7.         cnt++;
  8.         temp = temp -> next;
  9.     }
  10.     return cnt;
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement