+ 1

Header file in c

I have a C program named "college.c" , In "college.c" there is a function named "oct",and i have a another program named "hello.c". I want to call the oct() function in the program hello.c

5th Sep 2019, 2:58 PM
𝖆𝖙.𝖚𝕷
𝖆𝖙.𝖚𝕷 - avatar
5 Antworten
+ 1
Just add #include"college.c" in hello.c and call function..
5th Sep 2019, 6:14 PM
Alaska
Alaska - avatar
0
Martin Taylor Why?? Can you provide a specific reason for this...This code will also execute as normal..(I figured out that it might be something like not following standard c or deprecated from c, So can you explain?)
6th Sep 2019, 2:40 AM
Alaska
Alaska - avatar