TopicsC ProgrammingQuestionProgrammingHardGATE CS · Campus placementsint x = 12; x &= x - 1; What is x?A. 12B. 8C. 4D. 0Correct answer: B. 8x - 1 is 11 = 1011, and 12 = 1100, so their AND is 1000 = 8. This is the one-step clear of the lowest set bit. Practise more C Programming questionsC Programming: notes and key pointsMore C Programming questionsWhat 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)?What does printf("%d", 7 % -3) print?int a = 7; printf("%d", a++ > 7); What is printed?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