[1mec3.cpp:55:5: [31mstyle:[39m Assignment of function parameter has no effect outside the function. [uselessAssignmentArg][0m
    a = a + 1;    // No side effect outside function
    ^
[1mec3.cpp:11:6: [31merror:[39m Array 'a[10]' accessed at index 10, which is out of bounds. [arrayIndexOutOfBounds][0m
    a[10] = 0;
     ^
[1mec3.cpp:16:10: [31merror:[39m Array 'a[10]' accessed at index 10, which is out of bounds. [arrayIndexOutOfBounds][0m
        a[k] = k;
         ^
[1mec3.cpp:62:0: [31merror:[39m Found a exit path from function with non-void return type that has missing return statement [missingReturn][0m
        return false;
^
[1mec3.cpp:33:6: [31merror:[39m Null pointer dereference: x [nullPointer][0m
    *x = 1;
     ^
[1mec3.cpp:32:14: [2mnote:[0m Assignment 'x=0', assigned value is 0
    int* x = 0;
             ^
[1mec3.cpp:33:6: [2mnote:[0m Null pointer dereference
    *x = 1;
     ^
[1mec3.cpp:29:6: [31merror:[39m Uninitialized variable: p [uninitvar][0m
    *p = 5;
     ^
[1mec3.cpp:47:12: [31merror:[39m Memory is allocated but not initialized: r [uninitdata][0m
    delete r;
           ^
[1mec3.cpp:23:14: [31mstyle:[39m Variable 'a[m]' is assigned a value that is never used. [unreadVariable][0m
        a[m] = m;
             ^
[1mec3.cpp:43:12: [31mstyle:[39m Variable 'q' is assigned a value that is never used. [unreadVariable][0m
    int* q = new int;
           ^
[1mec3.cpp:28:10: [31mstyle:[39m Variable 'p' is not assigned a value. [unassignedVariable][0m
    int* p;
         ^
[1mec3.cpp:43:10: [31mstyle:[39m Variable 'q' is allocated memory that is never used. [unusedAllocatedMemory][0m
    int* q = new int;
         ^
[1mec3.cpp:46:10: [31mstyle:[39m Variable 'r' is allocated memory that is never used. [unusedAllocatedMemory][0m
    int* r = new int[4];
         ^
[1mec3.cpp:55:7: [31mstyle:[39m Variable 'a' is assigned a value that is never used. [unreadVariable][0m
    a = a + 1;    // No side effect outside function
      ^
[1mec3.cpp:53:0: [31mstyle:[39m The function 'f' is never used. [unusedFunction][0m

^
