C Program Using String Manipulation In Powershell