sizeof

Difference Between strlen and sizeof in C [Code Explained in Detail]

What is the main difference between strlen and sizeof C and CPP programming? Explain the code for string length and array size with examples.