MCQs > IT & Programming > Programming With C > What will be printed on the standard output as a result of the following code snippet? void main() { char arr[] = {'R','A','M','\0'}; printf('%d',strlen(arr)); }

Programming With C MCQs

What will be printed on the standard output as a result of the following code snippet? void main() { char arr[] = {"R","A","M","\0"}; printf("%d",strlen(arr)); }

Answer

Correct Answer: 3

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

search

Programming With C Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it