Globant interview question

Write a program to occur deadlock