Subject: INTERGRAP 7.Interchanging strings and numbers Ans C 8. Matricide:Mother:: Homicide:? AnsHuman 9.Some Mammels are Vertebrates Some Vertebrates are....... Ans d 10. Figure patteren: --|--.......etc. direction changes problem. 11. work problem.........etc. (not clear). C TEST 1. main() { int arr[100]; int c: int N; for(i=-:ic)?a:((b>c)?b:c) ans 10 11. debugging eliminates Ans[c] ans: both logical & ruin time errors. 12. int term (int x) { int sum=0;int i; for(i=0;i<=5;i++) sum+=x; /*problel is wrong but Ans is 650.*/ return(sum); } Ans 650 the above fn value for x=150 13.int x; scanf("%d",x); ------------- -------------- what is error in the above program 14.int a[] = { 1, , 9,2.......} int *p; p=&a[2]; printf("%s",p); a)7 b)2 c)4407 d)none ans: d 15.a[][] = {1,2},{3,4} b[] [] ={ void fun(A,B) int i,j; for(i=1;i R.S.Aggrawal nonverbal ->pg 92: 5 questions 6 PQRSTU->problem-> Verbal Reasoning -> .......do.......pg 430 : 5 question. 7 problem -> verbal reasoning -> rs aggrawal pg 207 Quest 17 to 21. C TEST 1. malloc ? 2. char * p =" hwllo world " , what is wrong? 3. char *(*(*a(N))())();? 4.*p++ = ? 5 int i=7 printf( "%d \n",i++ i++) o/p =? ans 56 6.n=2 pow((2.0,n),++n)? 7 #define macro for ( i,g) ? 8. int reg=2 is there any wrong ? write a reason 9. #define max 10 p=&(a+b); q=*max; } what is wrong 10. strcat( string,'O'); wrong? werite reason? 11.char *s=char * .... else (string)....? wrong? write reason? PSG PAPER: ARITHMETICS 1. Venn diagram for white, clothes,flowers 2.Male members ABCDEF, female members PQRSTU This problem is same as in rs aggrawal [5questions] 3. not clear. 4. IMS material A sales person problem. [5 question] conditions: M must visit before P&Q R " " " MNOPQRS 5. A containor contains 40 lt milk, 8 lt water ans:( 0.80)^3 * 40 = 20.41lts. 6. direction problem (playing cards) Ams south-west.