Will result in Compilation Error

, 2.

Undefined string

, 3.

sdfgh 

, 4.

asdfgh

">
MCQs > IT & Programming > Embedded C >

What would be printed on the standard output as a result of the following code snippet?

main()

{

char *pmessage = "asdfgh";

*pmessage++;

printf("%s", pmessage);

return 0;

}


Embedded C MCQs

What would be printed on the standard output as a result of the following code snippet?

main()

{

char *pmessage = "asdfgh";

*pmessage++;

printf("%s", pmessage);

return 0;

}


Answer

Correct Answer:

sdfgh 

Explanation:

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

Embedded C Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

More Embedded C MCQ Questions

search

Embedded C Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it