0 votes 0 votes #include<stdio.h> int f(); int main() { f(); return 0; } Programming in C programming-in-c + – radha gogia asked Aug 9, 2015 radha gogia 631 views answer comment Share Follow See 1 comment See all 1 1 comment reply Happy Mittal commented Aug 10, 2015 reply Follow Share This code will give run time error. 0 votes 0 votes Please log in or register to add a comment.
0 votes 0 votes Your 2nd line is just function declaration .When gcc compiles these , it'd reference to actual function definition. Which is absent , so unknown reference'd be encountered. vishal8492 answered Aug 11, 2015 vishal8492 comment Share Follow See all 0 reply Please log in or register to add a comment.