The outlet and plug type used in Togo is C and in Madagascar are C and E and they are compatible with each other.
In Madagascar, outlets of type C and E are in use.
In Togo, outlets of type C are in use.