Program that illustrates the function of %[ ] specification.
main() { char address[80]; printf("Enter address\n"); scanf("%[a-z’]", address); printf("%-80s\n\n", address); } Output Enter address new delhi 110002 new delhi