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