How to increment a variable by 1 whenever a function is called?(C PROGRAMMING) I have a variable called currentSize in my main which tracks thesize of my array as i add elements to it. How do i write my code sothat whenever i call my add function in main it increments thecurrentSize variable? Please dont use pointers as i am a beginner in c and my coursehasnt taught up to there yet, thank you. in main which i want to increment by 1 whenever i call my addfunction. . . .
NB: We do not resell papers. Upon ordering, we do an original paper exclusively for you.
The post How to increment a variable by 1 whenever a function is called?(C PROGRAMMING) I have a variable cal appeared first on Student Homeworks.