Is it necessary to mention the header files in the C programming language?

Asked by Last Modified  

Follow 14
Answer

Please enter your answer

Maths Tutor

It is absolutely necessary as without inclusion of the same to your program, will lead to the absence of library functions that are present in the header files, your program will have a syntax error.
Comments

Maths Tutor

yes
Comments

Tutor

Yes, so that compiler can compile coding
Comments

Result Oriented classes in C++, C, Data Structure and Maths

yes , it is necessary.you can create your own header file which includes all the header files
Comments

Augmented Reality,Virtual Reality, Game Development

Yes! if the programmer is intend to use the functions from the header it is a must to use the header. One cannot understand a Korean movie without a English subtitle.
Comments

Yes
Comments

Tutor

Yes because C language depends on a set of 'foundation' functions without which you cannot do even the most basic of tasks. There are other programming languages which dont require header files compusorily, because you can define the functions yourself if you want. Header files were created to make your...
read more
Yes because C language depends on a set of 'foundation' functions without which you cannot do even the most basic of tasks. There are other programming languages which dont require header files compusorily, because you can define the functions yourself if you want. Header files were created to make your program shorter and easier to read. read less
Comments

It is necessary to assign the length of a char array , it cannot be left undeclared , unless you define the array in the first go or you declare it as a pointer
Comments

Yes
Comments

Tutor of C, Core Java, having 5 years of development experience in DRDO, Bangalore and Honeywell

If you are not including any header file than also your program will run completely but the condition is that you have to make all the functions by yourself, like printf and scanf functions. We use these functions and include header files in our programs to reduce their complexity as well as they also...
read more
If you are not including any header file than also your program will run completely but the condition is that you have to make all the functions by yourself, like printf and scanf functions. We use these functions and include header files in our programs to reduce their complexity as well as they also save our time. read less
Comments

View 14 more Answers

Related Questions

What is C language used for?
C language is a versatile programming language commonly used for system programming, developing operating systems, embedded systems, and creating various applications ranging from game development to scientific...
Anil
0 0
5
when will you start for delivering lectures on C language
You can approach, I will teach in depth, make you profession c developer
Surbhi
Which is older - Java or C?
C is older than JAVA
Baby
Can you suggest me some books for learning C?
"letus c" for c programming yashwant kanetkar
Yamun

Now ask question in any of the 1000+ Categories, and get Answers from Tutors and Trainers on UrbanPro.com

Ask a Question

Related Lessons

All About Programming And A Good Programmer.
Hi, This is my first lesson for you guys. Hope you enjoy reading it. In recent community questions, I found many people wanted to be good programmers, or wanted to have good hands on certain language,...

Tips of learning Java Language/Other Programming Languages
1.You should know the basic concept: If we talk about programming languages so basic concept are same in all the high level languages. So you should know the basic concept firstly then you can easily understand...
I

ICreative Solution

0 0
0

C Program to print Block Letter and Small Case Alphabets using C
/* WAP to print Block Letter and Small Case Alpahbets using C*/ //Hint:use ascii code(value) to print #include#include void main(){ int i; clrscr(); //Block Letters Alphabets printf("Block Letters Alphabets\n");...

Dynamic Memory Allocation in C using malloc()
#include <stdio.h>#include <conio.h>//#include <malloc.h> OR#include <stdlib.h>void main(){ int *ptr, i, n, sum = 0; printf("how many elements ? "); scanf("%d", &n);...

How to write shared library program using C Programming?
Library Name : hellofilename : hello.c#include void Hello(){ printf("Hello World .. How are you 1\n");}======================================Header File:hello.h#ifndef __HELLO_H#define __HELLO_Hvoid Hello(void);#endif===============================Application...

Recommended Articles

Brilliant Academy is one of the reputed institutes for B.Tech tuition classes. This institute is specialised in delivering quality tuition classes for B.E, Engineering - all streams and Engineering diploma courses. Incorporated in 2012, Brillant Academy is a brainchild of Mr Jagadeesh. The main motto of the academy is to...

Read full article >

Lasya Infotech is a Hyderabad based IT training institute founded in 2016 by O Venkat. Believing in his innovation, passion and persistence and with a diverse blend of experience, he started his brainchild to deliver exemplary professional courses to aspiring candidates by honing their skills. Ever since the institute envisions...

Read full article >

Information technology consultancy or Information technology consulting is a specialized field in which one can set their focus on providing advisory services to business firms on finding ways to use innovations in information technology to further their business and meet the objectives of the business. Not only does...

Read full article >

Business Process outsourcing (BPO) services can be considered as a kind of outsourcing which involves subletting of specific functions associated with any business to a third party service provider. BPO is usually administered as a cost-saving procedure for functions which an organization needs but does not rely upon to...

Read full article >

Looking for C Language Classes?

Learn from the Best Tutors on UrbanPro

Are you a Tutor or Training Institute?

Join UrbanPro Today to find students near you