{}
CODE VISUALIZER
Learn DSA the way it should be — with step-by-step code visualization.
Try now!
CODE VISUALIZER
Learn DSA with step-by-step code visualization.
Try now!
run-icon
main.c
#include <stdio.h> int inc() { static int state = 0; state++; return state; } int main() { inc(); int s = inc(); printf("%d\n", s); }
Output