Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

CitiCorp Placement Papers -------------placement paper 1

Answer Posted / guest

CitiCorp Placement Papers | CitiCorp Interview Procedure |
CitiCorp Aptitude Questions | CitiCorp Technical Questions
| CitiCorp Interview Questions



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

c:\TEMP.EXE Ramco Systems India


------------------------------------------------------------
-----------
CitiCorp Placement Papers | CitiCorp Interview Procedure |
CitiCorp Aptitude Questions | CitiCorp Technical Questions
| CitiCorp Interview 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<stdio.h>
main()
{
char s1[]="Ramco";
char s2[]="Systems";
s1=s2;
printf("%s",s1);
}

------------------------------------------------------------
-----



#include<stdio.h>
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);
}

CitiCorp Placement Papers | CitiCorp Interview Procedure |
CitiCorp Aptitude Questions | CitiCorp Technical Questions
| CitiCorp Interview Questions




Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

my question is : reverse a string in COBOL program (please write a code asap) input file: 1234abcdef abc*$#1___ cdef____ghi a_z_k_h___ 4_3_2_1___ ______5678 output file: 8765_____ 1_2_3_4__ h_k_z_a__ ihg____ghi 1#$*cba__ fedcb4321

1718


If anybody knows the recruitment procedure of IOTL & POWER MECHANICAL. send me the placement papers if u hav... very urgent ...

4375


what is placement paper?

2613


Sks Microfinance

1415


What kind of Issues/bugs arise in ETL projects? I would like to know few issues (critical to somewhat bugs ) normally occur in ETL process especially when testing? Domains can be banking, retail or any.

1874


what is difference between uv and visible spectroscopy and how to differentiate the drug compounds in uv visible region

2067


What were the occupations of the people who lived within the Mauryan Empire?

1103


Zero setting of sejong rottary press

1677


what is bidirectional?

1844


how did you celebrate your last birthday?

1770


A frog wants to climb a pole which is 15 feet in height, frog can jump 3 feet every minute after which he rests for a minute where he slips down 2 feet. How much time will the frog take to reach the top of the pole?

1061


what is the use of air in gc

1855


Hi.. Guys Im pranitha, presently im working in a organisation & im look for job at MNC's like DELL, Delloitte, Bank of America, Genpect, etc., I have completed B.com . Pls help me...

1610


Danlaw placement questions and answers

1840


what you will do when you struck in traffic ?

1447