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).

13 35199

How to swap two variables, without using third variable ?

104 223211

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

35 45507

how can u draw a rectangle in C

53 107854

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 60423

How to reverse a String without using C functions ?

33 102082

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

5 14397

Write a routine to implement the polymarker function

4373

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

1 19270

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

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

1 16235

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

29 44132

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

2321

source code for delete data in array for c

1 5259

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

4 5593

Post New TCS C Code Interview Questions


TCS C Code Interview Questions


Un-Answered Questions

what media object in Bootstrap is and what are their types?

5


Explain sap system transactions?

706


Use of import command in hadoop sqoop?

5


Do you have any idea about the labor laws in the country?

681


Why we are using mvc instead of asp.net? : Asp.Net MVC

519






How do I administer security for my machine? For an enterprise?

487


How many possible ways to register a Plug-In in MSCRM?

326


Scenario-based testing Option 1 concentrates on actor and software interaction Option 2 misses errors in specifications Option 3 misses errors in subsystem interactions Option 4 Both 1 abd 2

3030


What is the difference between productivity and productive system?

580


What is the limitation of hibernate?

241


cost accounting is a tool for dicission making expline

1652


What is the proper name for edta?

489


How we can able to import our own template (users designed MS-Word templates) which has many tabular columns; need to pass some values generate by Oracle-reports9i? Actually need to import more than 400 MS-Word templates into Oracle Reports-9i to minimize layout design in Reports.

1608


Is java an ide?

516


How do I find my rss feed on android?

458