Home Getting space separated input without specified N in c & c++ byC April 07, 2021 0 Comments In some situation you must get the inputs without specified nso you can use scanf statement with while looplike this 👇👇👇:int a;while(scanf("%d",&a)>0){//statements} Share
Post a Comment