inline function is there in c language?

Answer Posted / kathir

No, Inline functions are introduced in C++ to avoid the
problems while using macros.
using inline functions in C++ is as equivalent as defining
a function macro.

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Does sprintf put null character?

594


How pointer is different from array?

573


What is a void pointer in c?

602


What is the 'named constructor idiom'?

636


What is the usage of the pointer in c?

598






GIven a sequence of characters. How will you convert the lower case characters to upper case characters. ( Try using bit vector - sol given in the C lib -> typec.h)

678


What is a class c rental property?

601


Write a code on reverse string and its complexity.

601


what is bit rate & baud rate? plz give wave forms

1512


What is oops c?

602


Is it better to use a macro or a function?

648


How can I manipulate strings of multibyte characters?

631


Explain the use of bit fieild.

705


What is a structural principle?

634


Are enumerations really portable?

590