Quizzes
What is the output?
#include <stdio.h>
main()
{
char *s = "ABC xyz";
printf("%s\n", s+4);
printf("%c\n", s[4]);
printf("%c\n", *s);
printf("%s\n", &s);
}
xyz
x
A
P^U
Previous slide
Next slide
Back to first slide
View graphic version