www.sanonline.com sonata 'c' paper 1998 1. pointer-array relation ship how you represent an array as pointer? 2. func1 : copies the contents of memory block a to b. I f a and b overlap the overlapping part is copied to a buffer and then copied to b. func2 : Simply copies the contents of a to b. func1 : func2 : what are the contents of b. 3. Sum of natural numbers? 4. factorial program 5. pointers - array elements for the pointers. singular dimension & double dimension. 6. File operations stuid, name, mark1, mark2, mark3 find percentage, sum of the total marks, 7. structures enumarated,calculates two integers. 8. i=1 switch(i) { case 1: printf("sunday") case 2: printf("monday") ------ case 7: printf("saturday") break; } what is the output? 9. int k i = 1.5 j = 3 k = i*j; what is the k value? 10. str1 : " this is november month" str2 : is of the length 10 strcpy(str2,str1) what is str2? 11. #define ten 10 #define twenty ten + ten main() { printf 2 * twenty + 10 what is the output? 12. structures ( 3 to 4 problems) 13. int i = angle % 360 int j = i/90 switch(j) { case 1: printf"Ist given" break; case 2: -- --- default : ----- } is default necessary or redudent? ================================================================================== www.sanonline.com