1) which is the fastest : FTP, TELNET, TCP, etc.
2) Find 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) for all
7) What is the 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..?
12) We can't typedef (i) pointers (ii) function (iii) double (iv) I and II both