| Forums.Sureshkumar.net : A Perfect Place to Share Knowledge Blogs Games Magazines |
|
|||||||
| CITICORP Placement Papers CITICORP profile pattern , CITICORP Latest placement papers and Updated CITICORP 2006 2007 placement papers . If you have attended recent test of CITICORP , kindly post the model paper in this forum. |
![]() |
|
|
LinkBack | Thread Tools | Rate Thread | Display Modes |
|
|
#1 (permalink) |
|
Super Moderator
Join Date: Feb 2006
Age: 25
Posts: 4,551
Thanks: 25 Thanked 347 Times in 219 Posts Thanks: 25
Thanked 347 Times in 219 Posts
Rep Power: 0
|
CITICORP placement paper 1
CITICORP placement paper 1
Company : Citicorp C questions main() { int x=10,y=15; x=x++; y=++y; printf("%d %d\n",x,y); } int x; main() { int x=0; { int x=10; x++; change_value(x); x++; Modify_value(); printf("First output: %d\n",x); } x++; change_value(x); printf("Second Output : %d\n",x); Modify_value(); printf("Third Output : %d\n",x); } Modify_value() { return (x+=10); } change_value() { return(x+=1); } main() { int x=20,y=35; x = y++ + x++; y = ++y + ++x; printf("%d %d\n",x,y); } main() { char *p1="Name"; char *p2; p2=(char *)malloc(20); while(*p2++=*p1++); printf("%s\n",p2); } main() { int x=5; printf("%d %d %d\n",x,x<<2,x>>2); } #define swap1(a,b) a=a+b;b=a-b;a=a-b; main() { int x=5,y=10; swap1(x,y); printf("%d %d\n",x,y); swap2(x,y); printf("%d %d\n",x,y); } int swap2(int a,int b) { int temp; temp=a; b=a; a=temp; return; } main() { char *ptr = "Ramco Systems"; (*ptr)++; printf("%s\n",ptr); ptr++; printf("%s\n",ptr); } #include main() { char s1[]="Ramco"; char s2[]="Systems"; s1=s2; printf("%s",s1); } #include main() { char *p1; char *p2; p1=(char *) malloc(25); p2=(char *) malloc(25); strcpy(p1,"Ramco"); strcpy(p2,"Systems"); strcat(p1,p2); printf("%s",p1); } 1.enum day = { jan = 1 ,feb=4, april, may} what is the value of may? a)4 b)5 c)6 d)11 e)none of the above 2.main { int x,j,k; j=k=6;x=2; ans x=1 x=j*k; printf("%d", x); 3. fn f(x) { if(x<=0) return; ans fn(5) ....? else f(x-1)+x; ? Help M Main Menu P PrevMsg return; ans fn(5) ....? else f(x-1)+x; } 4. i=20,k=0; for(j=1;j { k+=j<10?4:3; } printf("%d", k); ans k=4 5. int i =10 main() { int i =20,n; for(n=0;n<=i;) { int i=10 i++; ? Help M Main Menu P PrevMint i=10 i++; } printf("%d", i); ans i=20 6. int x=5; y= x&y ( MULTIPLE CHOICE QS) ans : c 7. Y=10; if( Y++>9 && Y++!=10 && Y++>10) printf("........ Y); else printf("".... ) ans : 13 8. f=(x>y)?x:y a) f points to max of x and y8. f=(x>y)?x:y a) f points to max of x and y b) f points to min of x and y c)error d) ........ ans : a 9. if x is even, then (x%2)=0 x &1 !=1 x! ( some stuff is there) a)only two are correct b) three are correct c), d) .... c), d) .... ans : all are correct 10. which of the function operator cannot be over loaded a) <= b)?: c)== d)* ans: b and d SECTION.C (PRG SKILLS) (1) STRUCT DOUBLELIST { DOUBLE CLINKED INT DET; LIST VOID |
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| INFOSYS 2006 PLACEMENT PAPERS | sridhar | Companies Info & Recruitment Process | 2 | 14-04-07 03:22 PM |
| CITICORP 2006 placement paper | sridhar | CITICORP Placement Papers | 0 | 03-02-07 08:32 PM |
| All Big MNCs Latest 2006 Placement papers | sridhar | Companies Info & Recruitment Process | 1 | 24-11-06 06:54 PM |
| ACCENTURE 2006 PLACEMENT PAPERS | sridhar | Companies Info & Recruitment Process | 1 | 22-10-06 01:29 PM |
| CTS 2006 PLACEMENT PAPERS | sridhar | Companies Info & Recruitment Process | 0 | 09-10-06 06:24 PM |