Aditya,
as I could search, If there is a C version of Weka, it appears to be very outdated by now.
The library I use is http://www.cs.waikato.ac.nz/ml/weka/.

Davi