Home / MCQ Bank / Computer
Computer Pointer

What will be the output of the following C code? #include <stdio.h> int main() { char **p = {"hello", "hi", "bye"}; printf("%s", (p)[0]); return 0; }

Select the best option to verify your answer:
Show Correct Answer
Correct Answer: Option B • Undefined behaviour

Related Computer Questions

A vertically aligned set of tracks on a disk pack is known as What is an in-place sorting algorithm? Which command is used to skip the rest of a loop and carry on from the top of the loop again? The ___________ keyword begins the declaration of attributes that an element may take. It is followed by the name of the element in question, a list of attribute definitions, and a closing. The statement used to remove indexes on tables is ______