Home / MCQ Bank / Computer
Computer Pointer Difficulty: Medium

What will be the output of the following C code? #include <stdio.h> void f(int); void (*foo)() = f; int main(int argc, char *argv[]) { foo(10); return 0; } void f(int i) { printf("%d\n", i); }

Select the correct option to test your answer:

More Computer Questions

Which is not the function of "Edit, Clear" command? Total how many iterations are required to find the sum of elements in a given range of (l,r) in an array of size n when we use square root optimization? Which device can not be shared in network? Who coordinates the sequencing of events within the central processor of a computer? What will be the output of the following C code? #include <stdio.h> int main() { int var = 010; printf("%d", var); }