Sometimes, if you use android studio for an application it uses both java and c++. These work together and you don't need to do something special to make it work.
For combining
python and C/C++ you can use a compiler called Cython that makes python extensions using C