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

Programming With C Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

More Programming With C MCQ Questions

search

Programming With C Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it