Ask your own question, for FREE!
Computer Science 12 Online
OpenStudy (anonymous):

@Axohatah can u solve

OpenStudy (anonymous):

What will be the output of the program ? #include<stdio.h> #include<string.h> int main() { printf("%c\n", "abcdefgh"[4]); return 0; }

OpenStudy (anonymous):

No i don't know any C++ and just want my java questions to be answered...

OpenStudy (anonymous):

Its very simple printf("%c\n", "abcdefgh"[4]); It prints the 5 character of the string "abcdefgh". Hence the output is 'e'.

OpenStudy (anonymous):

Thanks

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!