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 |
Explain what is the advantage of a random access file?
How is a two dimensional array passed to function when the order of matrix is not known at complie time?
#define MAX 3 main() { printf("MAX = %d \n",MAX ); #undef MAX #ifdef MAX printf("Vector Instituteā); #endif
There seem to be a few missing operators ..
What is pointer to pointer in c with example?
In which area global, external variables are stored?
Why cant I open a file by its explicit path?
What is difference between && and & in c?
Write a program to find the number of times that a given word(i.e. a short string) occurs in a sentence (i.e. a long string!). Read data from standard input. The first line is a single word, which is followed by general text on the second line. Read both up to a newline character, and insert a terminating null before processing. Typical output should be: The word is "the". The sentence is "the cat sat on the mat". The word occurs 2 times.
what is level of tree if leaf node is at level 4.please explain.
What is wild pointer in c?
Write a C/C++ program that connects to a MySQL server and checks intrusion attempts every 5 minutes. If an intrusion attempt is detected beep the internal speaker to alert the administrator. A high number of aborted connects to MySQL at a point in time may be used as a basis of an intrusion.
2 Answers Drona Solutions, Infosys, Vodafone, Webyog,