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...

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 Interview Questions
Questions Answers Views Company eMail

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

5 9372

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

4 12193

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

7 13622

a=0; while(a<5) printf("%d\n",a++); how many times does the loop occurs? a.infinite b.5 c.4 d.6

7 17183

how many times does the loop iterated ? for (i=0;i=10;i+=2) printf("Hi\n");

9 20838

which of the following go out of the loopo if expn 2 becoming false a.while(expn 1){...if(expn 2)continue;} b.while(!expn 1){if(expn 2)continue;...} c.do{..if(expn 1)continue;..}while(expn 2); d.while(!expn 2){if(expn 1)continue;..}

4 9325

pick out the odd one out of the following a.malloc() b.calloc() c.free() d.realloc()

2 13149

# define prod(a,b)=a*b main() { int x=2; int y=3; printf("%d",prod(x+2,y-10)); } the output of the program is a.8 b.6 c.7 d.none

7 21408

consider the following program sigment int n,sum=1; switch(n) { case 2:sum=sum+2; case 3:sum*=2; break; default:sum=0;} if n=2, what is the value of sum a.0 b.6 c.3 d.none

7 15428

the format specified for hexa decimal is a.%d b.%o c.%x d.%u

7 12152

find the output of the following program main() { int x=5, *p; p=&x; printf("%d",++*p); }

10 27971

consider the following C code main() { int i=3,x; while(i>0) { x=func(i); i--; } int func(int n) { static sum=0; sum=sum+n; return(sum); } the final value of x is

4 10793

int *a[5] refers to

12 27121

which of the following statements is incorrect a.typedef struct new{ int n1; char n2; } DATA; b.typedef struct { int n3; char *n4; }ICE; c.typedef union { int n5; float n6; } UDT; d.#typedef union { int n7; float n8; } TUDAT;

5 16527

consider the following piece of code 01 GROSS-PAY 05 BASIC-PAY PIC 9(5) 05 ALLOWENCES PIC 9(3) if BASIC-PAY has a value 1000 and ALLOWENCES has a value of 250,what will be displayed by the statement DISPLAY GROSS-PAY a.1250 b.01000250 c.01250 d.1.250

3 9012

Post New TCS Interview Questions


TCS Interview Questions


Un-Answered Questions

How to find last error which occurred in Asp.net ?

1333


Who's our major competitor? How do we measure up? What are the risks and opportunities we face?

1258


How do I give myself full permissions in windows 10?

812


How be the result set of mysql handled in php?

1201


What is friends keyword?

1


What is collection process?

1020


Do you know what are the restrictions applicable while creating views? : SQL Server Architecture

1052


Explain the steps to send and read the email using your automation anywhere enterprise client?

142


What are the important sub-modules in sap hr?

1050


What is the main difference between inmon and kimball philosophies of data warehousing?

1153


What is the difference between `{'ngfor'}` and `{`ngforof`}` in angular 2?

845


What is a Queue? Explain its operation with example?

1064


What is abap? What are idocs?

1023


What is unshift method in JavaScript?

1072


Why does a systems auditor need to use professional judgement when selecting audit procedures?

1148