Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

a=0; while(a<5) printf("%d\n",a++); how many times does the loop occurs? a.infinite b.5 c.4 d.6

7 16592

how many times does the loop iterated ? for (i=0;i=10;i+=2) printf("Hi\n");

9 20219

which of the following go out of the loopo if expn 2 becoming false a.while(expn 1){...if(expn 2)continue;} b.while(!expn 1){if(expn 2)continue;...} c.do{..if(expn 1)continue;..}while(expn 2); d.while(!expn 2){if(expn 1)continue;..}

4 8891

pick out the odd one out of the following a.malloc() b.calloc() c.free() d.realloc()

2 12914

# define prod(a,b)=a*b main() { int x=2; int y=3; printf("%d",prod(x+2,y-10)); } the output of the program is a.8 b.6 c.7 d.none

7 20836

consider the following program sigment int n,sum=1; switch(n) { case 2:sum=sum+2; case 3:sum*=2; break; default:sum=0;} if n=2, what is the value of sum a.0 b.6 c.3 d.none

7 14919

the format specified for hexa decimal is a.%d b.%o c.%x d.%u

7 11681

find the output of the following program main() { int x=5, *p; p=&x; printf("%d",++*p); }

10 27312

consider the following C code main() { int i=3,x; while(i>0) { x=func(i); i--; } int func(int n) { static sum=0; sum=sum+n; return(sum); } the final value of x is

4 10460

int *a[5] refers to

12 26114

which of the following statements is incorrect a.typedef struct new{ int n1; char n2; } DATA; b.typedef struct { int n3; char *n4; }ICE; c.typedef union { int n5; float n6; } UDT; d.#typedef union { int n7; float n8; } TUDAT;

5 16082

main() { int x=10,y=15; x=x++; y=++y; printf("%d %d\n",x,y); } output??

19 60592

const char * char * const What is the differnce between the above tow?.

6 10405

how to connect oracle in C/C++.

3 9998

Explain the importance and use of each component of this string: Foo.Bar, Version=2.0.205.0, Culture=neutral, PublicKeyToken=593777ae2d274679d

1 7046

Post New TCS C Interview Questions


TCS C Interview Questions


Un-Answered Questions

Explain what is domain extension?

735


Which function is used in php to search a particular value in an array?

863


What are the different types of functions available in qtp and explain ?

964


How to run a scenario?

1078


When installing the datastage7.5x2 edtion iam getting aproblem i.e the cpu count is 2 but the cpu count in installation is one . how can i install in my p.c (system is dual core).

2159


What does el mean in java?

973


How to define an oracle sub procedure?

1058


What do you mean by % and _ in the LIKE statement?

946


What methods are used in Servlet?Applet communication?

2175


How to show a ContextMenuStrip instead of cthe default ContextMenuStrip,when you rightclick on the non client area of a window's Form or when alt+space keys are pressed

2188


How do I truncate text in excel?

651


What are hooks in code?

118


What are the stable versions of Hadoop?

954


What is belady's anomaly?

937


Does bootstrap supports all the modern browsers?

5