after megring two list why i am not able to get list 2
Mrege two sorted list
@Avishek-Kumar-2445349249011561
hello avishek,
merge opertation will remove all elements of list2 after merging . thats why u r getting empty list in output.
refer this article -> http://www.cplusplus.com/reference/list/list/merge/