do-while Loop In C Programming Language



do-while Loop In C Programming Language

do-while Loop In C Programming Language

https://technotip.com/7695/do-while-loop-in-c-programming-language/

In this video tutorial lets learn about the general syntax and working of do-while loop in C programming language.

Note: Since we might start to input information from the keyboard repeatedly inside do-while block, scanf() method keeps checking the input buffer. And often times it gets confused with the input buffer and thinks that the user has pressed the enter key. To avoid that we flush out the previous buffer present in input device(ex: keyboard) using function fflush(). fflush takes stdin as argument, so that it can clear the buffer of standard input device. fflush(stdin);

C Programming Interview / Viva Q&A List
https://technotip.com/6378/c-programming-interview-viva-qa-list/

C Programming: Beginner To Advance To Expert
https://technotip.com/6086/c-programming-beginner-to-advance-to-expert/

Comments are closed.