Home / MCQ Bank / Computer
Computer Pointer

What will be the output of the following C code? #include <stdio.h> void foo(float *); int main() { int i = 10, *p = &i; foo(&i); } void foo(float *p) { printf("%f\n", *p); }

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

Related Computer Questions

Which method in Ruby is used to read a line from a file? What is the name given to the specialized storage element in the processor unit of a computer which is used as a "scratch pad" during processing operations? Which of the following are the features of jQuery? Which element may be used within content to represent material that is tangential? The default extension for an Oracle SQL*Plus file is: