Program to print duplicate values of array only once in C++

前端 未结 0 958
温柔的废话
温柔的废话 2020-12-18 12:52

int array[5]={3,3,3,3,1,1};

output: 3 1

I am unable to do this, please help me out. I tried 2 for loops with boolean check , it didn\'t work.

相关标签:
回答
  • 消灭零回复
提交回复
热议问题