CAPGEMINI PLACEMENT PAPER
Enable Ginger Cannot connect to Ginger Check your internet connection or reload the browser Disable in this text field Edit Edit in Ginger Edit in Ginger × CAPGEMINI PLACEMENT PAPER QUESTIONS 1. Consider following given code and predict its output. main() { int num[ ] = {1,4,8,12,16}; int *a,*b; int i; a=num; b=num+2; i=*a+1; printf("%d,%d,%d\n",i,*a,*b); } ops: A. 2,1,8 B. 4,1,8 C. 4,4,8 D. 2,4,8 Ans: 2,1,8 2. Suppose f(A,B)=A'+B. Simplified expression for function f(f(x+y,y),z) is : ops : A. x'+z B. xyz C. xy'+z D. None of the mention options Answer: xy'+z 3. The number of control lines for a 8-to-1 multiplexer is:...