inline function is there in c language?

Answers were Sorted based on User's Feedback



inline function is there in c language? ..

Answer / 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

inline function is there in c language? ..

Answer / srinivasroyal

no. there is no such type of function available in C-language.

Is This Answer Correct ?    0 Yes 0 No

inline function is there in c language? ..

Answer / rakshitha

No inline functions r not ther in c. its only in c++, in
c++ it is used to replace function call with the body of
the function..

Is This Answer Correct ?    0 Yes 0 No

inline function is there in c language? ..

Answer / subash

no inline function there in c language only c++ language

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Interview Questions

What will be your course of action for a push operation?

0 Answers  


write an interactive C program that will encode or decode a line of text.To encode a line of text,proceed as follows. 1.convert each character,including blank spaces,to its ASCII equivalent. 2.Generate a positive random integer.add this integer to the ASCII equivalent of each character.The same random integer will be used for the entire line of text. 3.Suppose that N1 represents the lowest permissible value in the ASCII code,and N2 represents the highest permissible value.If the number obtained in step 2 above(i.e.,the original ASCII equivalent plus the random integer)exceeds N2,then subtract the largest possible multiple of N2 from this number,and add the remainder to N1.Hence the encoded number will always fall between N1 and N2,and will therefore always represent some ASCII character. 4.Dislay the characters that correspond to the encoded ASCII values.  The procedure is reversed when decoding a line of text.Be certain,however,that the same random number is used in decodingas was used in encoding.

0 Answers  


2.Given the short c program that follows a. make a list of the memory variables in this program b.which lines of code contain operations that change the contents of memory? what are those operations? Void main( void) { Double base; Double height; Double area; Printf(“enter base and height of triangle :”); Scanf(“%lg”, &base); Scanf(“%lg”, &height); Area=base*height/2.0; Printf(“the area of the triangle is %g \n”,area); }

1 Answers   Wipro,


What are different types of operators?

0 Answers  


Write a program that his output * *** *****

1 Answers  






What is a stream?

0 Answers  


What is the explanation for cyclic nature of data types in c?

0 Answers  


What are pointers? What are stacks and queues?

0 Answers   Hexaware,


extern static int i func() { i =10; i++; printf("%d \n",i); } main() { i =20; printf("%d \n",i); func(); printf("%d \n",i); }

2 Answers  


Explain why can’t constant values be used to define an array’s initial size?

0 Answers  


How to swap 3 numbers without using 4th variable?

5 Answers  


what is diff between localstatic and globalstatis variable possible 2 use in another file...?

2 Answers   HCL,


Categories