i have a char array say a[100]
I need to scan the array until new line is encountered..
ofcourse i can use
But i need to scan and place the first char on a[1] and not a[0]...Code:scanf("%s",a);
I nheed to check with the ascii of newline i guess...
May i have some suggestions plz