for loop in c hindi | For loop statement in c in hindi

for loop in c hindi :- C for Loop Statement & c programming for loop | C language me aapko loops provide kiye gye hai | loops ki madad se aap ek hi statement ko bar bar excute karva sakte hai.

for loop in c

Yadi Me aapse kahu ki c programming ko 10 bar print karana hai to aap kiya karenge | Mere Hisab Se Aap for loop ka hi istemal karenge kyoki aap bar bar printf se print nhi kara sakte h kyoki ye acche programmer ki pahchan nhi hoti.

for loop in c Hindi

Syntax :

for(initialvariable;condition;increment)
{
       //statements
} 

Example :-

#include<stdio.h>
void main()
{
    char name;
    printf("Enter The Name :");
    scanf("%s",&name);
  
        for(name=1;name<=10;name++)
        {
              printf(“%s\n”,name);
        }
}

Output :-

Upper Likha Gya Code Ye Output Deta hai.

Enter The Name : Masterprograming
Masterprograming
Masterprograming
Masterprograming
Masterprograming
Masterprograming
Masterprograming
Masterprograming
Masterprograming
Masterprograming
Masterprograming

Example 2 : –

#include<stdio.h>
int main()
{
 int number;
 for(number=1;number<=10;number++)
 {
  printf("%d",number);
 }
 return 0;
}

Output :-

1 2 3 4 5 6 7 8 9 10

Aap Dekh Sakte Hai ye for loop kese kaam karta hai.

For loop statement in c in hindi

Dosto mujhe ummed hai ki aap For Loop in Hindi ko acchi tarah se samanj gye honge agar aap ko ye post acchi lage to mere is website ko jarur follow kre or ha agar aap video bhi dekhna chahte hai to aap mere channel ko bhi subscribe kar sakte hai. channel ka link aapko home page par mil jayega |

Danish Ali

I Am a Cyber Security Student & I have Skills C, C++, Python, HTML, CSS, PHP, SEO, Computer & Advance Hacking & Blogger & YouTuber.

Published by
Danish Ali

This Website Uses Cookies in order to offer you the most relevant information.Please accept cookies for optimal performance

Read More