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 the advantages of c language?
write a program to interchange the value between two variable without using loop
can anyone proide me reading material on svit00ef27@yahoo.com please thanx in advance
Explain what is a 'locale'?
How can I prevent another program from modifying part of a file that I am modifying?
How can I recover the file name given an open stream?
A banker has a seif with a cipher. Not to forget the cipher, he wants to write it coded as following: each digit to be replaced with the difference of 9 with the current digit. The banker chose a cipher. Decipher it knowing the cipher starts with a digit different than 9. I need to write a program that takes the cipher from the keyboard and prints the new cipher. I thought of the following: Take the input from the keyboard and put it into a string or an array. Go through the object with a for and for each digit other than the first, substract it from 9 and add it to another variable. Print the new variable. Theoretically I thought of it but I don't know much C. Could you give me any kind of hint, whether I am on the right track or not?
get any number as input except 1 and the output will be 1.without using operators,expressions,array,structure.don't print 1 in printf statement
Not all reserved words are written in lowercase. TRUE or FALSE?
which of the following statements is incorrect a.typedef struct new{ int n1; char n2; } DATA; b.typedef struct { int n3; char *n4; }ICE; c.typedef union { int n5; float n6; } UDT; d.#typedef union { int n7; float n8; } TUDAT;
how to write hello word without using semicolon at the end?
why we use "include" word before calling the header file. is there any special name for that include??????