Youtube RSS Feed
Learn with Vikas Suhag
Program to implement do-while loop in C Language
Dec 26, 2021   Vikas Suhag
do-while loop in C Language

#include <stdio.h>
void main () {
   /* local variable definition */
   int a = 10; // init
   /* do loop execution */
   do {
      printf("value of a: %d\n", a);
      a = a + 1;
   }while( a < 2 );


Leave a Comment

* Email will not be published.
All comments are only visible after approval.
Most Viewed articles
Subscribe to Email Updates
Vikas Suhag

I am Engineer, Developer, Teacher, Blogger, Vlogger, Traveller, Photographer...

I have been developing websites, writing blogs and recording videos during my travel while being a full tim ...

Youtube Channel
Subscribe to Email Updates
Connect With Us
Youtube RSS Feed
© 2022 Learn with Vikas Suhag. All Rights Reserved.