Programming in C - Arrays

36. Choose the correct statements

Cancel reply

Your email address will not be published. Required fields are marked *


Cancel reply

Your email address will not be published. Required fields are marked *


37. A file is preferable to an array of structures because

Cancel reply

Your email address will not be published. Required fields are marked *


Cancel reply

Your email address will not be published. Required fields are marked *


38. Consider the declaration
char street[10] = "abcdefghi";
Choose the correct remark(s)

  • Option : D
  • Explanation :
    &street and street will have the values which is the starting address of the street array. However, street is a pointer to the first character whereas &street is a pointer to the entire array. The incremented values of street and &street reflects this difference.
Cancel reply

Your email address will not be published. Required fields are marked *


Cancel reply

Your email address will not be published. Required fields are marked *