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

What are Storage Classes in C ?

32 115289

what is a far pointer

12 34276

What is the output of the program given below #include main() { char i=0; for(;i>=0;i++) ; printf("%d\n",i); }

21 30903

What is the difference between char a[] = "string"; and char *p = "string"; ?

14 39955

What is the real difference between arrays and pointers?

27 58384

long int size a) 4 bytes b) 2 bytes c) compiler dependent d) 8 bytes

18 37277

x=2,y=6,z=6 x=y==z; printf(%d",x)

13 36454

Unsigned char c; for ( c=0;c!=256;c++2) printf("%d",c); No. of times the loop is executed ?

8 17585

write a C code to reverse a string using a recursive function, without swapping or using an extra memory.

9 39416

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 21696

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

6 12790

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 19645

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 23041

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 29138

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 18289

Post New TCS C Interview Questions


TCS C Interview Questions


Un-Answered Questions

Hai,I have done with my bachelor of commerce and planing to ms,please suggest me how to convince vo for shifting from commerce to computers. Visa on 8 DEC 2014  Npu university

1565


Where do we use decode and case statements?

525


Which type of transformer is used for lighting loads?

676


What is lightning connect ?

213


Types of (Open Shortest Path First) Link State Advertisements (LSAs)?

1636






You want to configure the local and global setting of cua. Where would you do that? What would happen if you have inconsistent settings?

574


How can I compress a pdf file?

98


What is drivermanagerdatasource in spring?

161


What are base tables of an aggregate object?

591


What is base html in django?

226


how do we calculate lux for museum building? what is the procedure?

2307


How do you optimize a stored procedure query?

538


How to do performance testing in tableau?

191


What is an excel template?

301


Is intel core i5 64 bit or 32 bit?

494