{}
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 main() { int arr[5]; printf("Enter 5 integers:\n"); for(int i = 0; i < 5; i++) { scanf("%d", &arr[i]); } printf("You entered:\n"); for(int i = 0; i < 5; i++) { printf("%d ", arr[i]); } return 0; }
Output