0 0 votes #include <stdio.h> int counter(int i) { static int count = 0; count = count + i; return count; } int main() { int i, j; for (i = 0; i <= 5; i++) j = counter(i); printf ("%d\n", j); return 0; } What is the output of the above program? Programming in C tbb-programming-2 numerical-answers programming-in-c data-structures + – Bikram 611 views answer comment Share Follow Print See all 2 Comments 2 2 Comments reply Vasu Srivastava commented Aug 10, 2017 reply Follow flag The question in test should give error 0 0 replyShare Bikram commented Aug 10, 2017 i edited by Bikram Aug 10, 2017 reply Follow flag @ Vasu Srivastava You can answer this question here , and post your answer.. in actual question header file is there .. have to fix that issue in exam interface ... is there any other question you find similar kind issue ? 0 0 replyShare Please log in or register to add a comment.
0 0 votes aanswer 15 swayam_369 answered Sep 24, 2024 swayam_369 comment Share Follow 0 reply Please log in or register to add a comment.