What does # mean in C?

Asked by Last Modified  

Follow 3
Answer

Please enter your answer

Tutor for C, Python, Web Dev, AI/ML Basics | 2+ Years Teaching Juniors & Classmates

In the C programming language, the symbol # serves as a preprocessor directive. Preprocessor directives are instructions that are processed before the actual compilation of the code. These directives typically start with # and are used to control various aspects of the compilation process.
read more
In the C programming language, the symbol#serves as a preprocessor directive.Preprocessor directives are instructions that are processed before the actual compilation of the code.These directives typically start with#and are used to control various aspects of the compilation process. read less
Comments

I am a tutor since last 1 year

Used in preprocess directive
Comments

IT Professional Trainer with 8 years of experience in IT industry

In C, # is the preprocessor directive symbol. It tells the compiler to process instructions before actual compilation. Common examples: #include – includes header files #define – defines constants or macros #if, #ifdef, #endif – conditional compilation
read more
In C, # is the preprocessor directive symbol. It tells the compiler to process instructions before actual compilation. Common examples: #include – includes header files #define – defines constants or macros #if, #ifdef, #endif – conditional compilation read less
Comments

"Rajesh Kumar N: Guiding Young Minds from 1 to 12 with Expertise and Care"

# is used for preprocessor directives like #include, #define, which are processed before compilation.
Comments

View 2 more Answers

Related Questions

What is #line used for?
# is a preprocessor directive. so it is used in the c program by two way. 1. such as #include stdio.h In this line to read all the library function of stdio.h before processing the program. 2. # define...
Pradeep
What is the difference between a string and an array?
String is array of characters terminated with null.
Rakes
What is the best way to comment out a section of code that contains comments?
you can use /* multiple line comments */ and // for single line comments
Prasad
How do I learn C programming easily?
focus on hands-on practice by writing, running, and debugging code.
Altaf
0 0
5

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

Ask a Question

Related Lessons

Program to swap the value of two variables without using third variable(simplest way)...
int main() { int a=10,b=20; printf("values of a before swap ="%d,a); printf("values of b before swap ="%d,b); a=a+b; b=a-b; a=a-b; printf("******************"); printf("values of a after swap...

Be prepared to get trained--init
Before starting the training,students must be mentally prepared for acceptance of new knowledge. Students must attend training with open minded forgetting the position they are working.This will help...
S

Smartnub Softsolutions

0 0
0

Difference Between C Language and C Program
C Language: C Language is structured, high level and machine independent language. C Program: C Program is the collection of functions that are supported by C library.
S

Shashwat Kumar

0 0
0

Creating First Program Using C Language
Step 1: Install and setup Turbo C compiler on your computer. Step 2: Open Turbo C from your Desktop or Programs menu. Select “File” from menu bar and select option “New”. Step...

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

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 >

Whether it was the Internet Era of 90s or the Big Data Era of today, Information Technology (IT) has given birth to several lucrative career options for many. Though there will not be a “significant" increase in demand for IT professionals in 2014 as compared to 2013, a “steady” demand for IT professionals is rest assured...

Read full article >

Almost all of us, inside the pocket, bag or on the table have a mobile phone, out of which 90% of us have a smartphone. The technology is advancing rapidly. When it comes to mobile phones, people today want much more than just making phone calls and playing games on the go. People now want instant access to all their business...

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