/*PROG--RETURN TYPE OF SCANF & BEHAVOIUR OF SCANF with ^/n & ^\n*/
#include<stdio.h>
int main()
{
int i[15];
int k=0;
printf("ENTER THE NO.");
k=scanf("%[^/n]s",i);//it will tend to print only initial of the name.//for eg. a of anu bala
printf("i=%s k=%d\n",i,k);
k=scanf("%[^\n]s",i);//it should have to print whole name with space /...it will not demand value from me again..but it will tend to print leaving initial of name ..that is fr eg// nu bala instead of anu bala...if \^n is not used before then it will tend to print whole ..anu bala..with space