can we deallocate memory using delete operator of a pointer variable which is allocated memory using malloc function?