#include using namespace std; void printAllPos(int a[],int n,int x,int i){ if(i==n){ return; } if(a[i]==x){ cout<