main()
{
char *input, output[50];
int i;
/*"input" point to the required string
So make the "input" pointer point to the input string*/
printf(" input val = %s\n", input);
while(*input != '\0')
{
if(*input != ',')
{
output[i]=*input;
i++;;
input++;
}
else
...
User Profile
Collapse
-
Sorry fren, there should be no code inside the function main. So you can't include that printf statement inside the main function.
Regards....Leave a comment:
-
Printing "Hello World" in C programming language.
Hi all,
Could anyone please help me to print "Hello World" in C programming language without including any code inside main function
Regards.
No activity results to display
Show More
Leave a comment: