What is the meaning of #(only) in c language and please spell it and why it is used in starting of c language ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

What is the meaning of #(only) in c language and please spell it and why it is used in starting of c language ?

20th Jun 2018, 4:50 PM
learn
4 Answers
+ 1
learn (this might help you) # is called pre processor directives. note. pre-processor run those statement start with #. actually in c. when we complie the code. 5 process run at a single commands. i.e 1.pre processor. 2.complier 3.Assembler 4.Limker 5.loader. so now you know # statement execution by pre processor. so what does # do. it indicate the pre processor, that before compile run these # statement.. now back to your question #include<stdio.h> # statement come(pre processor) include(include code) stdio.h so pre processor find the stdio.h and take the code. and merge with our code. i.e we cant get error cant find printf() or and other function of stdio.h
20th Jun 2018, 6:13 PM
Arun Tomar
Arun Tomar - avatar
0
thank you
22nd Jun 2018, 7:54 AM
learn
0
to all
22nd Jun 2018, 7:54 AM
learn
0
learn
2nd Aug 2018, 11:26 PM
kahsai crispy
kahsai crispy - avatar