Why the output of following code is value of variable k?

what programming concept is used here?

int main(){
int i = 1, j = 2, k = 4;
int p = (i,j,k);
cout << p;
return 0;
}

2 Likes