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 97643

what is a far pointer

12 27338

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

21 18199

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

14 31965

What is the real difference between arrays and pointers?

27 48301





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

18 29064

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

13 24570

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

8 11830

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

9 34202

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 15221

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

6 8902

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 16546

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 15651

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 19411

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 11519

Post New TCS C Interview Questions




TCS C Interview Questions





Un-Answered Questions

How does information act in the controlling process?

890


Which system variable is used to read the text and csv files in automation anywhere?

1


Do you know C++ ?

33


What is OOP Language?

20


How many ways you can deploy the custom webparts ? with out install in GAC, is there any other way to deploy ?

18






What is Dict and List comprehensions are?

45


What was your role in the silicon evaluation/product ramp? What tools did you use?

2454


Will you be OK with working in night shifts or over the weekends?

28


How native code can be used in a servlet?

2916


y neutal is required for 3 phase. neutral carrys only current or voltage. in 3 phase circuits.

901


Write a program that uses move corresponding.

1


Tell me the role of a car driver as one of a feedback mechanism.

18


How to create a navbar in bootstrap?a

1


which will print out the php call stack?

8


Clarify the NoSQL Database?

1