MCQs > IT & Programming > C Programming > Output of the following code snippet? void main() { char arr1[] = 'REGALINT'; printf('%d,',strlen(arr1)); printf('%d',sizeof(arr1)); }

C Programming MCQs

What will be printed on the standard output as a result of the following
code snippet?
void main()
{
char arr1[] = "REGALINT";
printf("%d,",strlen(arr1));
printf("%d",sizeof(arr1));
}

Answer

Correct Answer: 8,9

Explanation:

Note: This Question is unanswered, help us to find answer for this one

C Programming Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

C Programming Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it