MCPcopy Create free account
hub / github.com/andreasfertig/cppinsights / main

Function main

docs/examples/range-based-for-loop.cpp:3–10  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1#include <cstdio>
2
3int main()
4{
5 const char arr[]{2, 4, 6, 8, 10};
6
7 for(const char& c : arr) {
8 printf("c=%c\n", c);
9 }
10}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected