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

C program code int zap(int n) { if(n<=1)then zap=1; else zap=zap(n-3)+zap(n-1); } then the call zap(6) gives the values of zap [a] 8 [b] 9 [c] 6 [d] 12 [e] 15

6 23840

BPO means?

21 108284

Virtual memory size depends on [a] address lines [b] data bus [c] disc space [d] a & c [e] none

15 35111

The C language terminator is a.semicolon b.colon c.period d.exclamation mark

6 15175

What is false about the following A compound statement is a.A set of simple statments b.Demarcated on either side by curly brackets c.Can be used in place of simple statement d.A C function is not a compound statement.

5 21772

What is true about the following C Functions a.Need not return any value b.Should always return an integer c.Should always return a float d.Should always return more than one value.

11 26663

Main must be written as a.the first function in the program b.Second function in the program c.Last function in the program d.any where in the program

19 34134

Which of the following about automatic variables within a function is correct ? a.its type must be declared before using the variable b.they are local c.they are not initialised to zero d.they are global.

6 20678

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));

6 12329

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

6 15845

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

12 27913

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){ .... }

7 25884

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);}

9 21285

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

4 20815

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


Post New TCS Interview Questions


TCS Interview Questions


Un-Answered Questions

What are the type of integers does swift have?

742


What are different sql data types?

953


What is the syntax for creating a table in the db2 database?

1057


What are user profiles in salesforce?

428


What is fork()?

982


Do I need hibernate cfg xml?

402


Explain the term 'Topic Replication Factor'?

492


what are the stages involved in VALUE SAP. please brief it

1901


How does interoperable feature work in Kotlin for java ?

171


how can we create the ui using netbeans,having the code?

2006


How do you store a value in viewstate and retrieve them?

968


how do you use commitment control in rpg?

1222


What are macros?

140


What is "dunning" in sap?

1060


What are classification problems in machine learning?

87