Home / MCQ Bank / Computer
Computer Pointer

What is the result of the expression ptr += 2 in C, where ptr is a pointer?

Select the best option to verify your answer:
Show Correct Answer
Correct Answer: Option C • Move ptr two memory locations forward

Related Computer Questions

What will be the output of the following C code? #include <stdio.h> int main() { char *str = "hello, world\n"; char *strc = "good morning\n"; strcpy(strc, str); printf("%s\n", strc); return 0; } Which of the following shows multiple inheritances? Which one is not an input device? ______ is a distributed data warehouse system for Hadoop. In machine learning, what is the term for a type of model that can make predictions for both classification and regression tasks?