(Paper) Zensar Placement Paper Held on 3 March 2008 (Technical Section)

Paper: Zensar Placement Paper Held on 3 March 2008 (Technical Section)

1)which is the fastest : FTP ,TELNET ,TCP, etc.

2)output:
main(){
int x=20 ,y=35;
x= x++ + y++;
y = ++x + ++y;
printf(?%d %d?,x,y);
}

3)char *p[]=?rachit and devender?;
printf(?%C?,++(p[4]));

4)const char *p[]=?abhishek and Ankur?;

char k=?a?;
p[1]=k;

printf(?%s?,p);

5)main(){

extern int i;

i=5;

printf(?%d?,i);


6) main(){
int i,j=2;

if(i%j !=0)

j=5;

printf(?%d?,j);

}

For what values if i the output will be 5 : options 1)when i is even 2) odd 3)prime 4) fro all

7)complexity of merge sort .?

8)which sorting also will use to sort {1,2,3,4,5} ?

9)which cpu register holds the address of next instruction?

10)Main(){
Char *p[]=?pradeep mani?;
Printf(?%c%c%c%c?,p[i],i[p],(*p+1),*(p+1));
}

11) select * from dual ; output..??



GET ALERTS in EMAIL:

for FREE SMS ALERTS, SEND SMS ON placement-papers to 9870807070

Downloads | Post Your Resume | Jobs Alerts