Help me in solving PETSTORE problem

My issue

someone can explain me why its a wrong answer… it passed all test cases except one…

My code

#include <stdio.h>

int main(void) {
	// your code goes here
	int t;
	scanf("%d",&t);
	while(t--){
	    int n;
	    scanf("%d",&n);
	    int a,c=0;
	    
	    
	     for(int i=0;i<n;i++){
	        scanf("%d",&a);
	        c=c^a;
	    }
	    if(c==0) printf("Yes\n");
	    else printf("No\n");
	    
	}
	return 0;
}


Problem Link: PETSTORE Problem - CodeChef

@satyansh1212
like for n=3
and array={1,2,3}
your code will give yes but it will be no.