Welcome to Compile Academy
Location San Francisco ,United State

Arrays and Strings(1st) : Question 1 of 33

What will be the output of following program code?
#include <stdio.h>
int main(void)
{
    char p;
    char buf[10] = {1, 2, 3, 4, 5, 6, 9, 8};
    p = (buf + 1)[5];
    printf("%d", p);
    return 0;
}
1 Mark(s)