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 are dynamically linked and statically linked libraries?
Find the O/p of the following 1) #include int main() { char c='1'; int j=atoi(c); }
What is the purpose of main( ) in c language?
write a Program to dispaly upto 100 prime numbers(without using Arrays,Pointer)
26 Answers ADITI, iFlex, Infosys, Oracle, TCS, Unicops, Wipro,
#include <stdio.h> int main() { if ("X" <"x") printf("X smaller than x "); } my question is whats the mistake in this program? find it and please tell me..
What are bit fields? What is their use?
What are types of functions?
Why do we use c for the speed of light?
show how link list can be used to repersent the following polynomial i) 5x+2
a=(1,2,3); b=1,2,3; c=1,(2,3); d=(1,2),3; what's the value of 'a','b','c','d'
Do you know null pointer?
c language interview questions & answer