Citicorp Placement Question Papers




Citicorp Placement Question Papers

Filed under:

Citicorp Placement Question Papers

[1]. The following variable is available in file1.c
static int average_float;
all the functions in the file1.c can access the variable

[2]. extern int x;
Check the answer

[3]. Another Problem with
# define TRUE 0
some code
while(TRUE)
{
some code
}
This won’t go into the loop as TRUE is defined as 0

[4]. A question in structures where the memebers are dd,mm,yy.
mm:dd:yy
09:07:97

[5]. Another structure question
1 Rajiv System Analyst

[6]. INFILE.DAT is copied to OUTFILE.DAT

[7]. A question with argc and argv .
Input will be

main()
{
int x=10,y=15;
x=x++;
y=++y;
printf("%d %dn",x,y);
}
————————–

int x;
main()
{
int x=0;
{
int x=10;
x++;
change_value(x);
x++;
Modify_value();
printf("First output: %dn",x);
}
x++;
change_value(x);
printf("Second Output : %dn",x);
Modify_value();
printf("Third Output : %dn",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 %dn",x,y);
}

——————————–

main()
{
char *p1="Name";
char *p2;
p2=(char *)malloc(20);
while(*p2++=*p1++);
printf("%sn",p2);
}
———————————–
main()
{
int x=5;
printf("%d %d %dn",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 %dn",x,y);
swap2(x,y);
printf("%d %dn",x,y);
}

int swap2(int a,int b)
{
int temp;
temp=a;
b=a;
a=temp;
return;
}
—————————–

main()
{
char *ptr = “Ramco Systems";
(*ptr)++;
printf("%sn",ptr);
ptr++;
printf("%sn",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);
}

Related Plament Papers and Companies

Citicorp Placement Question Papers

Citicorp Placement Question Papers SECTION-1 1)Five trays cost is 0.35 each and dozen----- (ans:Rs13.75) 2)In a journey of 15 miles two third distance was traveled with 40 mph and remaining with 60 mph. How much time the journey takes... (ans:20 min) 3)A man walks from 9.15 to 5.15 from Monday to Friday and 9.00 to 12.00 on Saturday. Each day 0.45 min lunch. How much time he walks in a week... (ans: 39hrs15min). 4) 12 revolutions takes 1/8 th second time. In 20 seconds how many revolutions... (ans:1920) 5) In 60 reams of paper 40 reams were utilized then what percent will remain... (ans:33.33%) 6) A started at 9.00 am with

Citicorp Overseas Software Limited Placement Question Papers

Citicorp Overseas Software Limited Placement Question Papers SECTION A 1. a man purchased 6 stamps of rupees 1 and seven stamps of 50 paisa. he paid Rs. 12. how much change he got back ? Ans. 2.50 Rs 2. REPUBLICAN = 108 so DEMOCRATE = ? 3. if ELECTRICITY - GAS =100then JACK - JILL = ? 4. 8 man work for 6 days to complete a work. How many men are required tocomplete same work in 1/2 day. Ans. 96 men. 5. A man drives at a speed of 40 miles/hr. His wife

Citicorp Placement Question Papers

Citicorp Placement Question Papers SAMPLE PAPER Aptitude 1. For the first qustion in the paper answer is (30). 2. Five trays cost is 0.35 each and dozen----- (ans:Rs13.75) 3. In a journey of 15 miles two third distance was travelled with 40 mph and remaining with 60 mph.How muvh time the journey takes...(ans:20 min) 4. A man walks from 9.15 to 5.15 from monday to friday and 9.00 to 12.00 on saturday.Each day 0.45 min lunch.How much time he walks in a week...(ans: 39hrs15min). 5. 12 revolutions takes 1/8 th second time.In 20 seconds how many revolutions...(ans:1920) 6. In 60 reems of paper 40 reems were utilised

  • Resources













  • Placement Papers Archives