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 26001

How to swap two variables, without using third variable ?

104 182377

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

34 33766

how can u draw a rectangle in C

53 87184

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.

7 39310

How to reverse a String without using C functions ?

33 89712

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

4 11244

Write a routine to implement the polymarker function


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

1 10350

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

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

1 7526

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

29 27029

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 4139

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

4 3627

Post New TCS C Code Interview Questions

TCS C Code Interview Questions

Un-Answered Questions

What is a query?


Which enzymes in cows allow them to digest cellulose?


If you are ever stuck in an infinite loop, how will you break out of it?


How adaptive do you consider yourself to the environment?


Can independent origins be established for two families of transport systems having no sequence or motif similarities without three-dimensional structural data?


Explain the process of commutation in a dc machine.


How the FM 200 System is work? Just give me a reply about the Fire Incident and then Suppression by FM 200 step by step? Regards, ZahIR Uddin Babar For, BAFFESCO


Hii friends, i am a fresher, and i am looking a career in recruitment side, i am attending so many interviews, i am very bhoring with self introduction part, where ever go there are asking self intro, i want present to my self in different way. so if you have any ideas about this please share your ideas to my mail id..


If we wish to create bms executable, what are the basic steps that the user has to go through?


How to read a file into a hash array?


What is an external content enrichment web service?


What are some new areas in radiology?


List out some basic elements in html5?


Explain fullOuterJoin() operation in Apache Spark?


How can we apply Authentication in MOSS 2007 ?