Which one would you prefer - a macro or a function?
Answer / Deepak Kumar Sinha
A function is generally preferred over a macro as functions provide better readability, maintainability, and type safety. Macros are often used for simple operations and performance-critical code where the extra overhead of function calls can be significant.
| Is This Answer Correct ? | 0 Yes | 0 No |
Explain the difference between null pointer and void pointer.
Can u please send me the exam pattern and also Previous papers to javed123go@gmail.com
what is the difference between 123 and 0123 in c?
Write a program to reverse a given number in c?
IS Doon college of Engn.. has good faculty
Write a function that will take in a phone number and output all possible alphabetical combinations
we compile c program in 32 processor and 64 bit processor .exe file is created in both the processors. if we want to run .exe file in 64 bit processor which is created in 32 bit processor. is that .exe file is run or not if it is not run why?
Can U write a C-program to print the size of a data type without using the sizeof() operator? Explain how it works inside ?
What is the size of array float a(10)?
write a program that explain #define and # undef directive
What is chain pointer in c?
i need all types of question paper releted to "c" and other language.