The centre of mass of a body can lie within or outside the body.
For example, centre of mass of a uniform rod lies at its geometrical centre which lies within the rod whereas centre of mass of a uniform ring lies at its geometrical centre which lies outside the ring.
Study 40% syllabus and score up to 100% marks in JEE