diagonal2.c