0
C language ma loop ka kaise use kaya jata hai
Loop and if else ma kaya use Kaya jata hai
8 Antworten
+ 4
Aditya Kumar
Are you try to using search bar?
and read this before asking any questions..
https://code.sololearn.com/W0uW3Wks8UBk/?ref=app
See this what I got..
Hope this helpful.
https://www.programiz.com/c-programming/c-for-loop
https://intellipaat.com/blog/tutorial/c-tutorial/c-loops/
https://www.w3schools.com/c/c_for_loop.php
https://www.javatpoint.com/for-loop-in-c
+ 2
https://www.sololearn.com/learn/C/2923/?ref=app
https://www.sololearn.com/learn/C/2926/?ref=app
https://www.sololearn.com/learn/C/2927/?ref=app
+ 2
Start learning C language instead of other language.
+ 1
these are the three type of loop which we can use in c language.
#+++++++++for loop
for (initialization; condition; increment/decrement) {
// code to be repeated
}
for (int i = 0; i < 5; i++) {
printf("Iteration %d\n", i);
}
#++++++++++while Loop
while (condition) {
// code to be repeated
}
int i = 0;
while (i < 5) {
printf("Iteration %d\n", i);
i++;
}
#+++++++++++ do loop
do {
// code to be repeated
} while (condition);
int i = 0;
do {
printf("Iteration %d\n", i);
i++;
} while (i < 5);
0
Hello
0
If else ko loop se use kaya jata hai
0
Aditya Kumar loop and if_else statements are two different statements, loop use to write multiple lines of code while if_else statements are used to check the condition whether the condition is True or false.
-> just completed basic C programming you while understand every thing.
0
thank you very much for this blog
https://www.careerpedia.co/ui-ux-course-hyderabad
https://www.careerpedia.co/full-stack-developer-course-hyderabad
https://www.careerpedia.co/data-science-training-hyderabad
https://www.careerpedia.co/software-testing-course-hyderabad
https://www.careerpedia.co/ielts-coaching-hyderabad
https://www.careerpedia.co