Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/anupam-kumar-krishnan/Competitive_Programming
/ printArr
Function
printArr
Basic Programming/BubbleSort.cpp:23–28 ·
view source on GitHub ↗
function to print array
Source
from the content-addressed store, hash-verified
21
22
// function to print array
23
void printArr(int arr[], int n) {
24
for(int i=0; i<n; i++) {
25
cout<<arr[i]<<
" "
;
26
}
27
cout<<endl;
28
}
29
30
// function for Bubble Sort
31
int *bubbleSort(int arr[], int n) {
Callers
1
main
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected