print unique elements array in c++ | cpp programming video tutorial

preview_player
Показать описание
This video show how we can get unique numbers out of an array and print these numbers on screen.
Complete compiled Source code is available at:
To get distinct number out of array we uses loop and compare each number with the successors. So that the next occurrence of the number is captured and consider as duplicate.
Рекомендации по теме
Комментарии
Автор

hello thank you so much!!

but can you explain more the if(i==j) part like why ?
and what the value that it is stored in j here?

muneerah
join shbcf.ru