The given differential equation is
dxdy=ex+y
⇒dxdy=ex⋅ey
⇒dy=exeydx
Separating Variables
eydy=exdx
or
e−ydy=exdx
Integrating both sides
∫e−ydy=∫exdx
⇒−1e−y=ex+c
⇒−e−y−ex=c
Dividing both sides by −1,
e−y+ex=−c
Let −c=C,
ex+e−y=C
Correct Option
ex+e−y=c
∴Option (A) is the correct answer.