Youtube RSS Feed
Learn with Vikas Suhag
Program to implement for loop in C Language
Dec 16, 2021   Vikas Suhag
for loop in C Language

#include <stdio.h>
void main ()
{
int a; /* for loop execution */
for( a = 10; a >= 1; a = a - 2 )
{
printf("value of a: %d\n", a);  // 10
// 9
// 12
}
}

 


Leave a Comment

* Email will not be published.
All comments are only visible after approval.
Most Viewed articles
Search
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
Podcast
Subscribe to Email Updates
Connect With Us
Youtube RSS Feed
© 2022 Learn with Vikas Suhag. All Rights Reserved.