A USB cable is just a universal (hence the name "universal" serial bus") cable, so without software/drivers on each computer telling the other what to do with the cable, nothing would happen. It's likely that with the right software, you could use it for things like file transfer.