How to orient an actor towards another actor (without a movement component) in C++?

If I have two actors, is there a way to set its rotation to face the other actor in C++?

Thanks in advance