How can we use while in C Programming Language
/*Write a program to print a string using a for loop and the putchar function
Write a program to print a string using a for loop and the putchar function */
/* Assume Cat is a string */
#include <stdio.h>
#include <string.h>
char [80]
int i;
int main (){
strcpy (s,"cat");
i = 0;
while(s[i] 1 = '0')
putchar(s[i]);
1 ++ i
}
}