c programming while and do while loop