#43_Ex_HTML Parser

 # include <stdio.h>

# include <string.h>
int main()
{
    char tag[10], h[50];
    printf("Enter tag: \n");
    gets(tag);
    printf("Enter your content according to tag: \n");
    gets(h);
    printf("Your HTML Parser is: \n<%s>%s</%s>\n", tag, h, tag);
    
    printf("Output of this parser is:\n%s\n", h);
    return 0;
}

Comments

Popular posts from this blog

#19_(2)Functions in C

Ch7_32_MethodOverloading

#72_Function Pointers in C