If we give string length as input,the output must be the string of given length,can u help me in developing this program
Hi, if you have any doubt drop me a mail or call me char *s =" Viswanathan"; int position =5; // you need the string of 5 character //solution s[position] = '\0'; printf("%s",s); Regards, Viswanathan 09865650093 rviswawt@gmail.com