how to write a string method 1 .
#include<stdio.h>
#include<conio.h>
int main()
{
char a[]="rahul";
int i=0;
while (i<=4)
{
printf("%c",a[i]);
i++;
}
return 0;
}
rahul
This blog is for basic programming tutorial. Mostly programs of c and c++ programming are available here .
Comments
Post a Comment