How to read camera pixels in C/C++

Hello, I just got a Banana Pi M2-Zero and I want to connect a camera.

I see there is a camera slot similar to the raspberry pi zero, but I didn’t find a way to take pictures.

Questions:

  1. Can I use a raspberry pi camera or do I need a different camera?
  2. How can I access the camera pixels from C/C++ code?