Cognizant interview question

Questions from C programming Data Structure and Electronics