Answer Posted / vishnu
Inline fuction is one which has one line of defination.
If function definiation is more than two lines of
defination it will be treated as normal fuction.
since it will be replaced at compile time it is good to use
inline function if your code is of one line
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
How many levels deep can include files be nested?
Write a program, where i have a grid with many cells, how many paths are possible from one point to other desired points.
What is the difference between break and continue?
a program that performs some preliminary processing in C, it acts upon certain directives that will affect how the compiler does its work a) compiler b) loader c) directive d) preprocessor
What are the rules for the identifier?
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?
Is there anything like an ifdef for typedefs?
Why we write conio h in c?
What is the difference between #include
int i=3; this declaration tells the C compiler to a) reserve space in memory to hold the integer value b) associate the name i with this memory location c) store the value 3 at this location d) all the above
What is the difference between new and malloc functions?
What are the applications of c language?
Why do we use int main instead of void main in c?
Explain indirection?
write a c program in such a way that if we enter the today date the output should be next day's date.