For a cross examination, can you question a witness about someone else's testimony?

1 answer

Usually not, but there are exceptions.

for instance A stated that B told him...xxxx.
B can testify that indeed it did,or did not happen.