#include <stdio.h> #include <stdlib.h> int main() { int b=0,a[b]; do { b++; scanf("%d",&a[b]); }while(b!='\n'); return 0; }
#include <stdio.h> int main() { int b=0; int a[100]; do { printf("Enter the number:\n"); scanf("%d",&a[b]); b++; } while(b!='\n'); return 0; }