Which of the following selected chains is correct to name the given compound accordig to IUPAC system?


Among the following given compounds, according to IUPAC, the longest carbon chain having maximum number of functional gap is being selected.
Thus, carbon-chain containing 4-carbon atoms and which also includes both functional groups will be selected. While other three C-chains are incorrect since none of them contains both the functional groups.