what is y value of the code if input x=10 y=5; if (x==10) else if(x==9) elae y=8; a.9 b.8 c.6 d.7
4 12219what does the following code do? fn(int n,int p,int r) { static int a=p; switch(n){ case 4:a+=a*r; case 3:a+=a*r; case 2:a+=a*r; case 1:a+=a*r; } } a.computes simple interest for one year b.computes amount on compound interest for 1 to 4 years c.computes simple interest for four year d.computes compound interst for 1 year
7 13644a=0; while(a<5) printf("%d\n",a++); how many times does the loop occurs? a.infinite b.5 c.4 d.6
7 17224which 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 9356# 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 21440consider 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 15476consider 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 10807which 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 16555consider the following piece of code 01 GROSS-PAY 05 BASIC-PAY PIC 9(5) 05 ALLOWENCES PIC 9(3) if BASIC-PAY has a value 1000 and ALLOWENCES has a value of 250,what will be displayed by the statement DISPLAY GROSS-PAY a.1250 b.01000250 c.01250 d.1.250
3 9033Post New TCS Interview Questions
can any one send me the configuration of cisco 1841 router????/
formula of reduction in tax credit of vat form 201(gujarat)
Which types of logs are using in your organization
Tell me why haven't you worked recently? : insurance sales
please send me latest & previous years question papers for IOCL Technical level questions
SIR,i am applying for the jr.engineer(signal)post.kindly if you send some previos sample question -answer i will be higly obliged
ANY ONE TELL ME ABOUT generator synchronization panel panel to synchronise 3 gen of 250kva both automatic and manual. 2 gen output vol 415 3ph, 1 gen output vol 400 3ph SEND THE DETAILS DIAGRAM ON THIS EMAIL ADDRESS ayazleo@hotmail.com as soon as possilble best ragrds electrical engineer ayaz mahmood SAUDI TECH
hi fiends i am a diploma engineer(mech).now i am preparing for b.e mech part time course. could be send me entrance questions paper fo me .'sureshscad@rediffmail.com'
What is screw,centrifugal and rotary type compressors,how it works and what is principle .
How to enable html5 mode in angular 1.x?
Write a C program that will accept a hexadecimal number as input and then display a menu that will permit any of the following operations to be carried out: Display the hexadecimal equivalent of the one's complement. (b) Carry out a masking operation and then display the hexadecimal equivalent of the result. (c) Carry out a bit shifting operation and then display the hexadecimal equivalent of the result. (d) Exit. If the masking operation is selected, prompt the user lor the type of operation (bitwise and, bitwise exclusive or, or bitwise or) and then a (hexadecimal) value for the mask. If the bit shifting operation is selected. prompt the user for the type of shift (left or right), and then the number of bits. Test the program with several different (hexadecimal) input values of your own choice.
What will be the Salary of a fresher in Dell company for non-voice process?
Do you have any idea about the labor laws in the country?
dear sir, pls provide me a previous paper for hpcl engineers trainee exam for mechanical engg. this is a request pls do the needful as early as possible.
Did you deploy BizTalk more than one machine?