Most of the times, cofounder is the CTO and often unpaid untill ofc the startup gets funding and takes over from there.