Question: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;
}
 

A Will result in Compilation Error 

B Undefined string 

C sdfgh 

D asdfgh 

E Compiler Error 

+ Answer
+ Report
Total Preview: 488

Copyright © 2024. Powered by Intellect Software Ltd