Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...

Company Name Starts with ...
#  A  B  C  D  E   F  G  H  I  J   K  L  M  N  O   P  Q  R  S  T   U  V  W  X  Y  Z

TCS C Interview Questions

Write one statement equalent to the following two statements x=sqr(a); return(x); Choose from one of the alternatives a.return(sqr(a)); b.printf("sqr(a)"); c.return(a*a*a); d.printf("%d",sqr(a));

9194

Which of the following about the C comments is incorrect ? a.commentscan go over multiple lines b.comments can start any where in the line c.a line can contain comments with out any language statements d.comments can occur within comments

11719

What is the value of y in the following code? x=7;y=0; if(x=6) y=7; else y=1;

21730

Which of the following is not an infinite loop ? a.while(1){ .... } b.for(;;){ ... } c.x=0; do{ /*x unaltered within theloop*/ ... }while(x==0); d.# define TRUE 0 ... while(TRUE){ .... }

20853

what does the following function print? func(int i) { if(i%2)return 0; eale return 1; } main() { int =3; i=func(i); i=func(i); printf("%d",i);}

15418

how does the C compiler interpret the following two statements p=p+x; q=q+y; a.p=p+x; q=q+y b.p=p+xq=q+y c.p=p+xq; q=q+y d.p=p+x/q=q+y

17598

read the folllowing code # define MAX 100 # define MIN 100 .... .... if(x>MAX) x=1; else if(x 16150

a memory of 20 bytes is allocated to a string declared as char *s then the following two statements are executed: s="Etrance" l=strlen(s); what is the value of l ? a.20 b.8 c.9 d.21

10197

given the piece of code int a; int *pa; pa=a; to access the 6th element of the array which of the following is incorrect? a.*(a+5) b.a c.pa d.*(*pa + 5)

23050

consider the following structure: struct num nam{ int no; char name; }; struct num nam n1[]={{12,"Fred"},{15,"Martin"},{8,"Peter"},{11,Nicholas"}}; ..... ..... printf("%d%d",n1,no,(*(n1 + 2),no) + 1); What does the above statement print? a.8,9 b.9,9 c.8,8 d.8,unpredictable value

8628

identify the in correct expression a.a=b=3=4; b.a=b=c=d=0; float a=int b=3.5; d.int a; float b; a=b=3.5;

12246

regarding the scope of the varibles;identify the incorrect statement: a.automatic variables are automatically initialised to 0 b.static variables are are automatically initialised to 0 c.the address of a register variable is not accessiable d.static variables cannot be initialised with any expression

7071

the operator for exponencation is a.** b.^ c.% d.not available

6570

what is y value of the code if input x=10 y=5; if (x==10) else if(x==9) elae y=8; a.9 b.8 c.6 d.7

9594

what does the following code do? fn(int n,int p,int r) { static int a=p; switch(n){ case 4:a+=a*r; case 3:a+=a*r; case 2:a+=a*r; case 1:a+=a*r; } } a.computes simple interest for one year b.computes amount on compound interest for 1 to 4 years c.computes simple interest for four year d.computes compound interst for 1 year

9654

What are the designer tools for creating transformations?

392

Are these new fields that get created as a result of dff free text?

3

Which maximo properties are read first when the maximo server is started?

3

Conversions

1401

how many specifications are there in rpg/400? What are they?

566

Does contrail work in headless mode? Basically, I want to know what is going to happen to vms traffic if the three config/control nodes are gone?

3

What are the data classes in abap?

370

how u configure salary packaging and CTC?

3845

My router accepts only 1/4" shank bits. Yet many of the bits that I would like to use have a 1/2" shank. Why are there not more 1/4" shank bits available?

888

Tell me about entire study of finacle software as soon as possible? give me the idea about questions which coulb be asked in interview of pnb it officers?

7047

338

How much is windows 10 to install?

218

What is di api in sap business one?

364

Give me the Definition of blueprism robotic automation?

1

Needs some good training/by person/by institure in bangalore on Oracle HRMS module Can one suggest me on this my contact number is 09019859721

1952