The answer is repeated dehydration synthesis reactions.
That is the formation of a complex carbohydrate is a type of repeated dehydration synthesis reactions.
In dehydration synthesis reactions, two or molecules of sugar are joined together by the removal of water molecule that is why it is known as dehydration synthesis reaction.
In carbohydrates these reactions results in the formation of polysaccharide.