MCQs > IT & Programming > C Programming > Output as a result of the following code snippet? main() { int a[5] = {1,4,5,6,9}; printf('%d\t', *a); //Line 1 printf('%d', *++a); //Line 2 return 0; }

C Programming MCQs

What would be printed on the standard output as a result of the
following code snippet?
main()
{
int a[5] = {1,4,5,6,9};
printf("%d\t", *a); //Line 1
printf("%d", *++a); //Line 2
return 0;
}

Answer

Correct Answer: Compilation Error in "Line 2"

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