Elearning , Interview Questions And Answers

Google

printf("(%d,%c,%4Ld)",c->i,c->c,c->x); } Q33) Find the output for the following C program #include<stdio.h> void main(void); const int k=100; void main(void) { int a[100]; int sum=0; for(k=0;k<100;k++) *(a+k)=k; sum+=a[--k]; printf("%d",sum); } QUESTION PAPER STARTS.THE FILENAME IS RAMQP.I HOPE ITIS RAMCO 1) A - G are 7 consecutive +ve integers not necessarily in the same order 1) B is the middle number 2) D is 3 less than c 3) the difference between F & A is equal in magnitude and sign to the difference between E & C 4) Neither F nor C lie between E & G a) What is the value of B-F 1 2 -1 -2 cannot be determined b) which is greatest F C A E cannot be determined c) Given both A & B are primes what is the lowest value of E 8 6 9 12 cannot 2) Given that a,b,c,d,e each represent one of the digits between 1-9 and that the following multiplication holds a b c d e