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 16597which 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 8899# 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 20843consider 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 14933consider 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 10466which 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 16088Explain the importance and use of each component of this string: Foo.Bar, Version=2.0.205.0, Culture=neutral, PublicKeyToken=593777ae2d274679d
1 7047Post New TCS C Interview Questions
Brief about FTP hostname?
What is concurrent user hits in load testing?
What is a trapdoor function, and why is it needed in blockchain development?
Can we get price for the products by maintaining condition types in crm without connecting to ipc?
What is Sqoop Import Mainframe Tool and its Purpose?
What is the architecture of unix operating system?
What is the maximum connection pool size?
Dear friends I want to design busbar for1600 kva transformer(i.e2100 amps) what are all the factors to be considered before selectinga busbar what are all the standard sizes of busbars what is the formula for finding current of copper and aluminium busbar
What is heap size in tomcat?
How can i send message parallel?
What are accounting rules called?
What are your salary requirements at Schlumberger?
Explain parquet file?
How one can differentiate between 304 & 316 grades of steel (physically)?
What do your parents think about you?