what is the use of macro program
Answer / chaitali anand tendulkar
Macro is preprocessor directives that are defined using #
define. The combination backslash/new line is deleted
before preprocessing begins, so the directives can be
spread over several physical lines. this lines should
constitute a single logical line.
| Is This Answer Correct ? | 5 Yes | 2 No |
Why we use int main and void main?
In the below code, how do you modify the value 'a' and print in the function. You'll be allowed to add code only inside the called function. main() { int a=5; function(); // no parameters should be passed } function() { /* add code here to modify the value of and print here */ }
write a program for 7*8 = 56 ? without using * multiply operator ? output = 56
What is the difference between calloc() and realloc()?
write a program to find the number of even integers and odd integers in a given array in c language
13 Answers IAI Cameroun, NIIT, Olive Tech, QIS,
How do I read the arrow keys? What about function keys?
If i have an array 0 to 99 i.e,(Size 100) I place the values 1 to 100 randomly like a[0]=29,a[1]=56 upto array[99].. the values are only between 1 to 100. getting the array values by using scanf.. If i entered one wrong element value line a[56]=108. how can i find it.. and also how to find the missing value in 1 to 100.. and i want to replace the missing values.. any one of them know please post your answer..
Why doesn't C support function overloading?
What is the most efficient way to count the number of bits which are set in a value?
#include<stdio.h> #include<conio.h> void main() { int m=0111,n=20; printf("%d%d\n",m,n); getch(); }
Are there namespaces in c?
write a program to count the no of repaeted words in a line?