Can a function be forced to be inline? Also, give a comparison between inline function and the C macro?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

# define prod(a,b)=a*b main() { int x=2; int y=3; printf("%d",prod(x+2,y-10)); } the output of the program is a.8 b.6 c.7 d.none

7 Answers   Microsoft, TCS,


If i have an array 0 to 99 i.e,(Size 100) I place the values 1 to 100 randomly like a[0]=29,a[1]=56 upto array[99].. the values are only between 1 to 100. getting the array values by using scanf.. If i entered one wrong element value line a[56]=108. how can i find it.. and also how to find the missing value in 1 to 100.. and i want to replace the missing values.. any one of them know please post your answer..

0 Answers   IBM, Wipro,


In c programming language, how many parameters can be passed to a function ?

0 Answers  


WHAT IS HEADER?

8 Answers   ProKarma, TCS,


How can I convert integers to binary or hexadecimal?

2 Answers  


List some applications of c programming language?

0 Answers  


1 1 2 1 2 3 1 2 3 4 1 2 3 1 2 1 generate this output using for loop

2 Answers  


What is a class?

3 Answers  


What is the output of the following program #include<stdio.h> main() { int i=0; fork(); printf("%d",i++); fork(); printf("%d",i++); fork(); wait(); }

8 Answers   ADITI, Adobe,


what is difference between array,strutter,union and pointers

3 Answers   CTS, Lovely Professional University, Mannar Company,


Why is c so powerful?

0 Answers  


What is header file definition?

0 Answers  


Categories