| Description: |
Write a program to identify common elements or numbers between two given arrays. You should not use any inbuilt methods are list to find common values. |
| Code: | ||
|
| Output: |
4 3 9 2 |
| Description: |
Write a program to identify common elements or numbers between two given arrays. You should not use any inbuilt methods are list to find common values. |
| Code: | ||
?
|
| Output: |
4 3 9 2 |
| Description: |
Write a program to swap or exchange two numbers. You should not use any temporary or third variable to swap. |
| Code: | ||
?
|
| Output: |
Before swap: x value: 10 y value: 20 After swap: x value: 20 y value: 10 |