Jobs in India
Search Jobs
Search Jobs
Advertisements

22 July 2008 by SIEMENS

Details of 22 July 2008 by SIEMENS conducted by SIEMENS for job interview.
Advertisements
SIEMENS PAPER ON 22ND JULY,2008

Hi frens.i wood wanna share tis resource about siemens for all the aspirants.SIEMENS had come to our college on 22/july/2008.These were the aptitude question
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