The present invention provides a compound of general formula A for use as a potential anticancer agent against human cancer cell lines and a process for the preparation thereofwherein R is selected from the group consisting of H, F, Cl, Br, OMe, Me and CF3, R1 is selected from the group consisting of H, 4-F, 4-Cl, 4-Br, 4-CF3, 4-OMe, 3,4-OMe, 3,5-OMe and 3,4,5-OMe, and n is an integer ranging from 1-3.