MCQs>IT & Programming>Programming With C>What will happen when the following code is executed? void main() { char arr1[] = 'REGALINT'; char arr2[10] = 'REGALINT'; printf('%d,',sizeof(arr1)); printf('%d',sizeof(arr2)); }
Programming With C MCQs
What will happen when the following code is executed? void main() { char arr1[] = "REGALINT"; char arr2[10] = "REGALINT"; printf("%d,",sizeof(arr1)); printf("%d",sizeof(arr2)); }
Answer
Correct Answer: 9,10
Explanation:
Note: This Question is unanswered, help us to find answer for this one