Computer Science, asked by Fadufari8988, 1 year ago

What will be the output of following program code?

#include 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; }
A.5
B.6
C.9
D.Error

Answers

Answered by Chotabhim
1
hii your questions the answer is 9

Chotabhim: ha ha hs
Chotabhim: par tu Kon hai
Chotabhim: prerna hai na tu
Chotabhim: hmm
Chotabhim: prerna which your class?
Chotabhim: hi
Chotabhim: hello
Chotabhim: kaha ghum gaye ....
Chotabhim: hi
Similar questions