What does # mean in C?

Asked by Last Modified  

Follow 3
Answer

Please enter your answer

Professor

Statement beginning with # are for prepocessor and such statements are called as prepocessor directives These statements are processed by prepocessor before Compilation process by compiler. It is generally used to include library files along with your code and link the file with your program For...
read more
Statement beginning with # are for prepocessor and such statements are called as prepocessor directives These statements are processed by prepocessor before Compilation process by compiler. It is generally used to include library files along with your code and link the file with your program For example if you write #include It means you are linking a header file stdio.h You need to include this file because all input and out function are defined in stdio.h read less
Comments

I am online Quran teacher 7 years

In C, the # symbol is used for preprocessor directives. These directives are instructions to the preprocessor, which is a tool that processes the source code before actual compilation. For example, #include is used to include header files, and #define is used for macro definitions.
Comments

Engineering background teacher with 5+ years of teaching experience.

In C, the # symbol is used in the context of preprocessor directives. The preprocessor is a part of the C compiler that processes the source code before actual compilation begins. # is used to indicate preprocessor directives, which are instructions for the preprocessor.
Comments

C, Python FullStack, Java FullStack Coding Instructor

In the C programming language, the '#' symbol indicates the initiation of a preprocessor directive. These directives are executed prior to the compilation of the code, resembling a process of modifying your source code through specific text substitutions and other operations.
Comments

View 2 more Answers

Related Questions

What is the error in the given C language program?
Common errors in C programs include syntax errors (typos, missing semicolons, incorrect use of operators), logical errors (flawed algorithms or incorrect conditional statements), and runtime errors (memory...
Suresh
0 0
5
Why is C still so popular?
C is often taught as an introductory programming language in computer science courses due to its simplicity and close-to-the-hardware nature. This ensures a continuous influx of developers familiar with...
Chitra
0 0
5
Is C language the base for learning C++?
No. C and C++ are two different languages. All most all modern languages are influenced by C language. But we can learn C++ directly without learning C language.
Swathi
0 0
8
What is a pragma?
In computer programming, a directive pragma is a language construct that specifies how a compiler should process its input. The ' #pragma ' directive is the method specified by the C standard for providing...
Anil

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

Ask a Question

Related Lessons

C Program-Prime Number
/*WAP to print a number entered by the user is prime or not*/ //Header files #include<stdio.h>#include<conio.h> //Main function void main(){ int num,i; //Function for clearing screen clrscr();...

Why we need to learn Programming languages?
Language is medium for communication. If two parties like to communicate or exchange the thoughts they must know a language. Language should be understandable by both the Parties. For example A wants to...

Necessity of Theory and Practical in Computer Science.
Upon studying a subject both theory and practical are important. Usually many schools concentrate more on theory and the marks not on the practical. Other and opposite kind of people prefer practical...

Bit wise operators in C
Bit Wise Operators Bit Wise operators are manipulates of individual bits with in a word of memory. The bit wise operators can be divided in to three general category. One’s Complement...

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

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 >

Microsoft Excel is an electronic spreadsheet tool which is commonly used for financial and statistical data processing. It has been developed by Microsoft and forms a major component of the widely used Microsoft Office. From individual users to the top IT companies, Excel is used worldwide. Excel is one of the most important...

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