The output data will not be same as that of input. Output will look like below. Col1 Col2 Col3 Col4 AA110100708/11/2002 BB45100908/12/1999 CC65100504/13/2002 DD40101308/14/2002 EE50101001/15/2002 FF45101007/16/2002 The difference is in the format of Col4 which is the date value. Separate() function splits into 3 different parts of this date column. Unite() function unites these 3 different parts into one column which is Col4. However the format is slightly different as mentioned in the code. Here we are converting non-tidy format to tidy format and again back to non-tidy format. This is one of the most frequently asked R programming interview questions and answers for freshers in recent times.