The outlet and plug type used in Malawi is G and in Madagascar are C and E. This is how they look like.
In Madagascar, outlets of type C and E are in use.
In Malawi, outlets of type G are in use.