Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void func(int a1, int a2, int a3)
- {
- int i,j,k;
- int * nodes[5]={a,b,c,d,e}; //my current attempt
- if(a1){
- i++;
- a++; //I am trying to implement these variables as counters to profile the nodes
- if(a2){
- j++;
- b++;
- }
- } else {
- k++;
- c++;
- }
- if(a3){
- k++;
- d++;
- }
- e++;
- }
Add Comment
Please, Sign In to add comment