TopicsC ProgrammingQuestionProgrammingHardTCS NQT · Infosysint n = 0; while (n++ < 3) ; What is n after the loop?A. 4B. 3C. 2D. 5Correct answer: A. 4The test uses the old value of n each time, so the loop stops when n has been incremented past 3. The final value is 4. Practise more C Programming questionsC Programming: notes and key pointsMore C Programming questionsunsigned char x = 100; x += 200; What is x?int x = 12; x &= x - 1; What is x?What does printf("%d", sizeof(int) > sizeof(char)) print?char p = "abc" + 1; printf("%c", p); What is printed?int x = 2; int p = &x; p = p p; What is x?int (p)[5]; What is sizeof p / sizeof(int)?Exams that ask this topicTCS NQT mock test and practiceInfosys (SE / SP / DSE) mock test and practiceWipro (Elite NTH / Turbo) mock test and practiceAccenture (ASE) mock test and practiceCognizant GenC mock test and practiceCapgemini mock test and practice