MCQs > IT & Programming > Programming With C > What will be printed on the standard output as a result of the following code snippet? void main() { int arr[5]={1,2,3,4,5}; printf('%d\n', *(arr+4)); }

Programming With C MCQs

What will be printed on the standard output as a result of the following code snippet?
void main()
{
        int arr[5]={1,2,3,4,5};
        printf("%d\n", *(arr+4));
}

Answer

Correct Answer: 5

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