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
What is sizeof int?
WAP to accept basic salary of an employee? Calculate it HRA=25%,DA=30%,PF=30%&net salary display all contents?
6 Answers Finite Infotech, Lovely Professional University, Wipro,
Write a program which has the following seven functions. The functions should be: • main() this calls the other 6 functions • fget_long() a function which returns a long data type from a file • fget_short() a function which returns a short integer variable from a file • fget_float() a function which returns a floating point variable from a file • fprt_long() a function which prints its single, long argument into a file • fprt_short() a function which prints its single, short argument into a file • fprt_float() a function which prints its single, floating point argument into a file. You should use fscanf() to get the values of the variables from the input (the file) and fprintf() to print the values to the other file. Pay attention to using the correct format for each of the data types.
How will you declare an array of three function pointers where each function receives two ints and returns a float?
related proverb of "dont count your chicken before it hatches"
Describe the order of precedence with regards to operators in C.
what does ‘Bus Error’ mean?
How will you divide two numbers in a MACRO?
what is the output of below pgm? void main() { int i=0; if(i) printf("pass"); else printf("fail"); }
What is the description for syntax errors?
Is c easier than java?
Write any data structure program (stack implementation)