Can a function be forced to be inline? Also, give a comparison between inline function and the C macro?
# 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
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..
In c programming language, how many parameters can be passed to a function ?
WHAT IS HEADER?
How can I convert integers to binary or hexadecimal?
List some applications of c programming language?
1 1 2 1 2 3 1 2 3 4 1 2 3 1 2 1 generate this output using for loop
What is a class?
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(); }
what is difference between array,strutter,union and pointers
3 Answers CTS, Lovely Professional University, Mannar Company,
Why is c so powerful?
What is header file definition?