What are the advantages of Macro over function?
When writing macros for functions, they saves a lot of time that is spent by the compiler for invoking / calling the functions. Hence, The advantage of a macro over an actual function, is speed. No time is taken up in passing control to a new function, because control never leaves the home function.
| Is This Answer Correct ? | 2 Yes | 0 No |
What is wrong with this code?
how many times does the loop iterated ? for (i=0;i=10;i+=2) printf("Hi\n");
without using arithmatic operator convert an intger variable x into x+1
An expression to whose value an operater is applied a) operand b) variable c) constant d) all of the above
How can I manipulate individual bits?
Suppose I want to write a function that takes a generic pointer as an argument and I want to simulate passing it by reference. Can I give the formal parameter type void **, and do something like this? void f(void **); double *dp; f((void **)&dp);
What is the maximum no. of arguments that can be given in a command line in C.?
send me the code of flow chart generator using C-programming language amd this code should calculate the time and space complexity of the given progran and able to generate flowchart according to the given program?
Write a program to generate a pulse width frequency of your choise,which can be variable by using the digital port of your processor
How to find a missed value, if you want to store 100 values in a 99 sized array?
wat is output of the following int main() { const int j=2; int i; switch(i) { case 1:break; case j:break; default:break; } }
5) Write a program that takes a 3 digit number n and finds out whether the number 2^n + 1 is prime, or if it is not prime find out its factors.without using big int and exponential function