Commit 68b6ac3
committed
feat: Access and print a specific element from an integer array
🧠 Logic:
- Declares and initializes an integer array with 7 elements.
- Prints the element at index 2 (which is the third element, value 3).
Signed-off-by: Somesh diwan <[email protected]>1 parent f52f170 commit 68b6ac3
1 file changed
+2
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
| 1 | + | |
| 2 | + | |
5 | 3 | | |
6 | 4 | | |
7 | 5 | | |
| |||
0 commit comments