Write a program that compares two strings of characters received as a parameter.
Write a program that compares two strings of characters received as a parameter.
However new you are, you should be able to make some attempt. We don't just give you code on demand.
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.
Also here.