Why Should You Learn C Programming?
C enables you to comprehend a computer's internal architecture, as well as how it stores and retrieves data.
Learning other programming languages such as Java, Python, and others will be much easier after learning C.
Possibility of working on open source projects. Some of the most important open-source projects, such as the Linux kernel, Python interpreter, SQLite database, and so on, are written in C.
What is the best way to learn C programming?
C tutorial from Programiz - We offer C tutorials, examples, and references in a step-by-step format. Begin with the letter C
Official C documentation - Beginners may find it difficult to follow and comprehend. Visit the official documentation for C programming.
Write a lot of C programming code - You can only learn programming by writing a lot of code.
Do While Loop
The C do-while loop is used to repeatedly iterate a section of the program. If the number of iterations is not fixed and the loop must be executed at least once, the do-while loop is recommended.
Because the condition is checked after the loop body, the C do-while loop is executed at least once
syntax
do{
//statmenet ;
}
while(condition);
C Do while Loop Example
#include<stdio.h>
#include<conio.h>
int main()
{
int i;
i=1;
do
{
printf("reanits.com");
i++;
}while(i<=15);
getch();
}
Pleasse Watching my Video is Below
No comments:
Post a Comment