code saved here, please check…
@Akshay123 hello Akshay, u are not initialising ur next pointer with NULL
Thanks man, very helpful…