Size of an Array using sizeof Operator OR strlen() Function in C
Question: Can we Determine Size of an Array using sizeof Operator and strlen() Function in C Language? Answer: Let’s learn this by considering an example, and analysing it’s output when program is run on Linux System. /* * sizeof_vs_strlen.c — program shows difference between using sizeof and * strlen with array and string */ #include … Read more