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 35153

How to swap two variables, without using third variable ?

104 223019

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

35 45385

how can u draw a rectangle in C

53 107678

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 60375

How to reverse a String without using C functions ?

33 101998

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

5 14379

Write a routine to implement the polymarker function

4368

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

1 19253

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

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

1 16202

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

29 44063

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

2313

source code for delete data in array for c

1 5247

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

4 5576

Post New TCS C Code Interview Questions


TCS C Code Interview Questions


Un-Answered Questions

What is string in database?

451


What is a provider in angular?

406


Explain amazon kinesis firehose?

103


What is difference between java singleton and spring singleton?

174


What are host variables in db2?

611






do you have plans for further study?

684


63MVA,220KV/6.9KV Transformer LV side neutral is connected to Earth pit through NGR. Whether this earth pit required to connect with near by below grouding earth mat or it is to be kept separate?

2287


What is primary key in ms access 2007?

438


What is the easiest way to save a chart so you can use it another document?

365


• What are the types of cash flows?

1708


How to setup angular 2 in visual studio 2017 mvc 5 / 6?

460


How do I make a program available to all users?

517


What would you say to your boss if he?s crazy about an idea, but you think it stinks?

2081


What are the causes of L.O. high temperature?

1749


How do you treat or prevent the papules (pseudofolliculitis) that black patients often get on the face, neck and lower abdomen?

2540