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

Write, efficient code for extracting unique elements from a sorted list of array. e.g. (1, 1, 3, 3, 3, 5, 5, 5, 9, 9, 9, 9) -> (1, 3, 5, 9).

12 27395

How to swap two variables, without using third variable ?

104 188327

print a semicolon using Cprogram without using a semicolon any where in the C code in ur program!!

34 35462

how can u draw a rectangle in C

53 90297

1) int i=5; j=i++ + i++ + i++; printf("%d",j);This code gives the answer 15.But if we replace the value of the j then anser is different?why? 2)int i=5; printf("%d",i++ + i++ + i++); this givs 18.

8 44307

How to reverse a String without using C functions ?

33 91822

Write a C function to search a number in the given list of numbers. donot use printf and scanf

4 11819

Write a routine to implement the polymarker function


main() { int c=- -2; printf("c=%d",c); }

1 11412

#include main() { struct xx { int x=3; char name[]="hello"; }; struct xx *s=malloc(sizeof(struct xx)); printf("%d",s->x); printf("%s",s->name); }

1 6448

main(){ int a= 0;int b = 20;char x =1;char y =10; if(a,b,x,y) printf("hello"); }

1 8597

main() { char *p = “ayqm”; printf(“%c”,++*(p++)); }

29 29418

can you use proc sql to manpulate a data set or would u prefer to use proc report ? if so why ? make up an example and explain in detail


source code for delete data in array for c

1 4311

prog. to produce 1 2 3 4 5 6 7 8 9 10

4 3891

Post New TCS C Code Interview Questions

TCS C Code Interview Questions

Un-Answered Questions

What is the full form of vscp?


What is j2me in mobile computing?


Do people still use mvc?


How often do you read the paper or watch the news on TV? How important is it for you to keep up with current events?


What is the use of “next” statement in R?


How long will an ssd drive last?


What is an http redirector?


How can any user find out all information about a specific user like his default shell, real-life name, default directory, when and how long he has been using the system?


What are classes in php?


What is managed or unmanaged code?


What happen if we install flow meter with orifice plate, but bevel position is in upstream and not in downstream


How to Pass a function to a procedure or vice versa?


What is macros in ms word?


What are the core components of http request and http response?