Skip to content
Snippets Groups Projects
Commit 082e4a03 authored by Anh Nguyen-Tuong's avatar Anh Nguyen-Tuong
Browse files

Add call in inner loop

parent ae83913c
No related branches found
No related tags found
No related merge requests found
......@@ -2,6 +2,11 @@
using namespace std;
volatile int identity(int x)
{
return x;
}
size_t my_strlen(char *arg)
{
int count = 0;
......@@ -9,6 +14,7 @@ size_t my_strlen(char *arg)
{
count++;
arg++;
count = identity(count);
}
return count;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment