Question for loop in c

#include <stdio.h>
int main() {
int i;
for(i==1;i<=3;i++){
printf(“Hello World!”);
}
}
why is this code printing hello world four times instead of 3 time?

Manish, pls use for(i=1;i<=3;i++), instead of i==1, as you have used in the code…

Hello @17manishms,

As you have re-opened this doubt again.
Please, specify if you still have any doubt regarding this.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.