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

Why is there no C-- language that simplifies the C language?
C++ stands for additional functionality and the original programming language was C. There is no downgraded version of C so there is no C--.
Profile Photo
Komal
0 0
View Comments7
How can I develop my C language?
Practice coding: Write code regularly, even if it's small programs. Practice is key to improving. Read books and online tutorials: There are many resources available to learn C. Books like "The C Programming...
Profile Photo
Mohit
0 0
View Comments5
Other than in a for statement, when is the comma operator used?
Example : int i,j; i=(10,20,30,40); j=10,20,30,40; printf("%d",i); printf("%d",j); // in this program output of i will be 40 and j will be 10 // In interviews you can face such type of comma operator related questions.
Profile Photo
Sanjay
How do I add two large integer numbers in C?
We have long int datatype in c programming so use it
Profile Photo
Krishan
0 0
View Comments6
Can you suggest me some books for learning C?
"letus c" for c programming yashwant kanetkar
Profile Photo
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

Introduction to Programming Languages
What is a Programming Language? A programming language is a formal computer language or constructed language designed to communicate instructions to a machine, particularly a computer. Programming languages...
Profile Photo

Why do pointers have a datatype?
Before we start with pointers you must know what is a variable and a datatype. int a; This is the basic line in every program in 'C' . It means that we are asking the compiler to give us 2 bytes of space...
Profile Photo

C and C++ programming with memory level debugging
Understanding C and C++ programming by using memory level debugging. Step 1: Understand the Memory map of C executable Step 2: Start memory level debugging using popular IDE Step 3: Find the memory...
Profile Photo

Pointers and References
Are reference and pointers same? No. I have seen this confusion crumbling up among the student from the first day. So better clear out this confusion at thevery beginning. Pointers and reference...
Profile Photo

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...
Profile Photo

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