HOW can TAKE a paragraph at time USING scanf FUNCTION?

void main() { char a[30]; clrscr(); scanf("%[^\t]",a); printf("%s",a); getch(); } Note: Paragraph will end when you will press tab key.
Post a Comment