Home / MCQ Bank / Computer
Computer Pointer

What will be the output of the following C code? #include <stdio.h> void f(char *k) { k++; k[2] = 'm'; } void main() { char s[] = "hello"; f(s); printf("%c\n", *s); }

Select the best option to verify your answer:
Show Correct Answer
Correct Answer: Option A • h

Related Computer Questions

The ______ as just the value field append(value) and the key is a LongWritable that contains the record number, count + 1. In C#, what is the result of the expression 5 >= 5? Which of these take more space? Variable length columns, Fixed length columns The output of the ______ is not sorted in the Mapreduce framework for Hadoop. What is the syntax for a single-line comment in C++?