Also, although it might seem trivial, the Viet Cong, by definition, were South Vietnamese people who formed a guerilla force to fight the government of South Vietnam. They fought the ARVN (Army of the Republic of Vietnam (South)) both in cooperation with the NVA (North Vietnamese Army) and independently.
McCain and the others were held by the North Vietnamese not the Viet Cong.