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
Differentiate between new and malloc(), delete and free() ?
What is c variable?
find the value of y y = 1.5x+3 for x<=2 y = 2x+5 for x>2
how to print the character with maximum occurence and print that number of occurence too in a string given ?
What is the incorrect operator form following list(== , <> , >= , <=) and what is the reason for the answer?
What are linker error?
What type of function is main ()?
Describe static function with its usage?
How does normalization of huge pointer works?
Write a program in "C" to calculate the root of a quadratic equation ax^2+bx+c=0, where the value of a,b & c are known.
How do you convert a decimal number to its hexa-decimal equivalent.Give a C code to do the same
Not all reserved words are written in lowercase. TRUE or FALSE?
What is modeling?
How can I delete a file?
Differentiate between functions getch() and getche().