Include <stdio.h>int counter(int i){ static int count = 0; - ProProfs
     

#include <stdio.h>int counter(int i){ static int count = 0; count = count + i; return count;}int main(void){ int i, j; for (i = 0; i <= 5; i++) j = counter(i); printf("%d\", j); return 0;}What is the output of this program?

This question is part of Coding quiz 1

+ AnswerRequest Answer
...

1 Answer

suri

Suri

Answered on Dec 06, 2018

Search for Google images
Select a recommended image
Upload from your computer
Search for Google images
Select a recommended image
Upload from your computer
Search for Google images
Select a recommended image
Upload from your computer

Email Sent
We have sent an email to your address "" with instructions to reset your password.