Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <stdlib.h>
- int main() {
- int num,i;
- int odd[]={1,3,5,7,9},*podd;
- int even[]={2,4,6,8,10},*peven;
- podd=odd;
- peven = &even[4];
- printf("Output: Array_odd x Array_even\n");
- for(i=0;i<5;i++){
- printf("Round %d: %d * %d = %d \n",i+1,*podd,*peven,(*podd)*(*peven));
- podd++;
- peven--;
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement