#include<iostream>
using namespace std;
void printf(char *C)
{
int i = 0;
while(*(C + i) != '\0')
{
printf("%c",C[i]);
i ++;
}
printf("\n");
}
int main()
{
char C[20] = "Hello" ;
printf(C);
return 0;
}
#include<iostream>
using namespace std;
void printf(char *C)
{
int i = 0;
while(C[i] != '\0')
{
printf("%c",C[i]);
i ++;
}
printf("\n");
}
int main()
{
char C[20] = "Hello" ;
printf(C);
return 0;
}