What is the use of #define preprocessor in c?
Answer / Pawan Kumar Yadav
The C preprocessor, denoted by #define, is a part of the C compiler that performs textual replacement before the actual compilation. It allows you to create macros, shortcut names for frequently used code sequences, and conditional compilation.
| Is This Answer Correct ? | 0 Yes | 0 No |
Taking an example,differentiate b/w loader and linker ?
There are 21 people in a room. They have to form groups of 3 people each. How many combinations are possible? Write a C program to print the same.
int main(){ float f=8.0; if(f==8.0) printf("good"); else printf("bad"); } what is the answere and explain it?
Differentiate between full, complete & perfect binary trees.
How to declare pointer variables?
What is sizeof int?
A collection of data with a given structure for excepting storing and providing on demand data for multiple users a) linked list b) datastructer c) database d) preprocessor
What is the use of pragma in embedded c?
With the help of using classes, write a program to add two numbers.
What does do in c?
Why is not a pointer null after calling free? How unsafe is it to use (assign, compare) a pointer value after it is been freed?
write a program to insert an element at the specified position in the given array in c language