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 26301

How to swap two variables, without using third variable ?

104 183473

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

34 34109

how can u draw a rectangle in C

53 87773

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 40192

How to reverse a String without using C functions ?

33 90077

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

4 11346

Write a routine to implement the polymarker function


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

1 10537

#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 5990

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

1 7678

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

29 27510

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 4166

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

4 3672

Post New TCS C Code Interview Questions

TCS C Code Interview Questions

Un-Answered Questions

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


What is interferon induced antiviral state?


Explain about how requests from the client are sent?


What are your goals and long term objectives in life?


Write a function to print Fibonacci series and Tribonacci series?


Suggest me where i can do certification course on capital management/wealth management through distance in and around Bangalore.


01. a. Diagram of a slump cone…………… 1 b. Size of Slump Cone…………… 1 c. Volume of a slump cone by av. Dia method…………… 1 d. Volume of a slump cone by av. area method…………… 1 e. Volume of a slump cone by frustrum method …………… 1 f. Angles of slump cone …………… 1 g. Slump measured by slump cone due to…………… 1 h. Slump does not measured by cylinder / cube due to …………… 1 i) ii) i. Slump cone is to be filled in……………………..Layers.


Why do we need provider aliases? And how do you create one?


How many section database vuser script have?


which date sensex was a top positon n how much?


Explain what are the advantages of mvc framework? : mvc


Define ancestor and descendant ?


in Tally what is cost cenre,cost categori and why we need to prepare them


What does the ‘yield’ keyword do?


List all tags that are provided in jstl?