what is inline function?

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


Please Help Members By Posting Answers For Below Questions

Why c language?

652


Why pointers are used?

635


Explain what is the benefit of using an enum rather than a #define constant?

728


Explain how do you sort filenames in a directory?

616


Define Spanning-Tree Protocol (STP)

649






write a program to print the consecutive repeated character from the given string... input string is : hhhhjkutskkkkkggggj output should be like this: hhhhkkkkkgggg anyone help me...

1493


Do character constants represent numerical values?

848


Explain what is meant by high-order and low-order bytes?

637


please help me..... please codes and flowchart plz turbo c lang po yan.....please asap response... 3. Make an astrology program. The user types in his or her birthday (month, day, and year as integer), and the program responds with the user’s zodiac sign, horoscope, and other information related to it. If the user’s birth year falls into a leap year, your program should display an appropriate message for it. NOTES: Conditional Statements: it should be with graphics

2864


All technical questions

1515


What is the sizeof () a pointer?

555


What is New modifiers?

676


Explain why c is faster than c++?

579


Can one function call another?

633


Explain heap and queue.

591