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

How do I print \n in C or C++ programming?
void main () { printf(" "); getch(); }
Supriyo
0 0
6
What will the pre-processor do for a program?
The pre processor takes a look at your source code just before it goes off to the compiler, does a little formatting, and carries out any instructions you have given it. Each # command that the preprocessor...
Neel
0 0
6
Why does execution of a program in C/C++/Java start from only main?
Main function is calling the other functions of he program and compiler gets this direction while Compiling the code. If it does not find main function then it will also not find the other functions in the code. So, main is required in C program.
Isha
What is the most efficient way to store flag values?
A flag is a value used to make a decision between two or more options in the execution of a program. Efficiency in this case is a tradeoff between size and speed. The most memory-space efficient way to...
Deepak
0 0
6
Who is the inventor of C programming?
Dennis Ritchie in the year of 1970 created C Programming language. He is a computer czar also helped to develop the Unix operating system.He died in the year of 2011 on Wednesday at his home in Berkeley Heights, New Jersey
Shreya
0 0
7

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-Upper Case Demo
/*WAP to print the character entered by user in upper case*/ //Header files #include<stdio.h>#include<conio.h> //Main function void main(){ char ch; //Function for clearing screen clrscr(); ...

Basics Of C And C++
C++ is powerful, highly flexible, and adaptable programming language that allows software engineers to organise and process information quickly and effectively. But this high-level language is relatively...

Everything about printf in C language
What is printf and from where it comes from in C code.? You must have used printf so many times in your Car programs but do you really know everything about printf? Let's see. What is the full form...

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");...

Pointers Concept
Every variable has a memory location and every memory location has its address defined which can be accessed using ampersand (&) operator, which denotes an address in memory. Consider the following...

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