• +91 9723535972
  • info@interviewmaterial.com

C Interview Questions and Answers

Question - Can the sizeof operator be used to tell the size of an array passed to a function?

Answer - No. There’s no way to tell, at runtime, how many elements are in an array parameter just by looking at the array parameter itself. Remember, passing an array to a function is exactly the same as passing a pointer to the first element.

Comment(S)

Show all Coment

Leave a Comment




NCERT Solutions

 

Share your email for latest updates

Name:
Email:

Our partners