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

How to reverse a string using a recursive function, without swapping or using an extra memory?

31 95261

int main() { int *p=new int; *p=10; del p; cout<<*p; *p= 60; cout<<*p; } what will be the output & why?

4 11102

Which of the Following is not defined in string.h? A)strspn() B)strerror() C)memchr() D)strod()

2 8376

Identify the correct argument for the function call fflush () in ANSI C: A)stdout B)stdin C)stderr D)All the above

5 22176

Which of the Following will define a type NODE that is a node in a Linked list? A)struct node {NODE*next;int x;};type def struct node NODE; B)typedef struct NODE {struct NODE *next;int x;}; C)typedef struct NODE {NODE *next;int x;}; D)typedef struct {NODE *next;int x;}NODE;

5 9824

study the code: #include void main() { const int a=100; int *p; p=&a; (*p)++; printf("a=%dn(*p)=%dn",a,*p); } What is printed? A)100,101 B)100,100 C)101,101 D)None of the above

15 16438

which one is not preprocessor directive a)#if b)#elif c)#undef d)#pragma

16 20292

what will be the output: main(){char ch;int a=10;printf("%d",ch);}

36 26808

What is C language Terminator?

15 28752

why i join syntel?

23 54000

palindrome for strings and numbers----Can anybody do the prog?

6 11753

what is the advantage of function pointer

16 68712

what are the static variables

8 10561

how to print "hai" in c?

13 13951

write a C program to print the program itself ?!

16 39495

Post New TCS C Interview Questions


TCS C Interview Questions


Un-Answered Questions

Explain pmcmd command usage in informatica

679


Tell us about the failures in your life.

852


Define the various contents of technical specifications ?

595


What happens if my dmgr is not running?

568


Explain the mrp group and their uses.

535






How do I register a middleware?

492


How many versions of ios are there?

400


What is bulk copy or bcp in oracle?

589


Give an example where graceful migration of service from one machine to another is not possible.

541


How do you approach discussions about advance directives and end-of-life care when providing anesthesia to critically ill patients?

1977


Is mac faster than linux?

424


What is the difference between an MLE and an SLE?

5686


How do I search for a specific text in excel?

280


Define modularity?

642


Why is loose coupling important?

132