Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/codemistic/Data-Structures-and-Algorithms
/ printArray
Function
printArray
CPP/sorting/Cocktail Sort.cpp:56–61 ·
view source on GitHub ↗
Prints the array */
Source
from the content-addressed store, hash-verified
54
55
/* Prints the array */
56
void printArray(int a[], int n)
57
{
58
for (int i = 0; i < n; i++)
59
printf(
"%d "
, a[i]);
60
printf(
"\n"
);
61
}
62
63
// Driver code
64
int main()
Callers
1
main
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected