Details of Placement Paper Technical Latest 2012 by SIEMENS conducted by SIEMENS for job interview.
Advertisements
SIEMENS Technical Aptitude Question paper with Answer, previous year frequently asked Questions with answer 1) The prototype declaration for a pointer to a function which returns a pointer to an integer is: a. int (**pfi)(); b. int (*)(*pfi)(); c.(*int) pfi (); d. int * (*pfi)(); Ans: D 2) main() { static int a[20]; int i=0; a[i]=i++; printf(%d%d%d, a[0],a[i],i ); } a. 0 0 0 b. 0 0 1 c. 1 1 1 d. Error ans: b 3) void f(int x,int &y) { x++; y++; } Void main() { Int i=1,j=1; F(I,j) Cout