0 votes 0 votes #include <stdio.h> void fc(float *); int main() { int i = 10, *p = &i; fc(&i); } void fc(float *p) { printf("%f\n", *p); } Unknown Category programming-in-c pointers + – shekhar chauhan asked Jun 4, 2016 shekhar chauhan 460 views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
Best answer 3 votes 3 votes It will print 0.000000 Because u r printing int value to float. But C will not allow automatic type casting So, it will print float 0 as output srestha answered Jun 4, 2016 • selected Jun 4, 2016 by shekhar chauhan srestha comment Share Follow See all 0 reply Please log in or register to add a comment.