Surely by just answering a call will not give you a virus or trojan. It is when you act upon something surely.
I answer my phone with a backward motion as it is partly behind my chair when sitting. I cannot see the number this way. When I find it to be a possibl
e scam I just hang up.