What are macros in C?
Answers were Sorted based on User's Feedback
Answer / nashiinformaticssolutions
Macros are preprocessor directives defined using #define to create constants or functions.
| Is This Answer Correct ? | 0 Yes | 0 No |
Macros are preprocessor directives defined using #define to create constants or functions.
| Is This Answer Correct ? | 0 Yes | 0 No |
Are there any problems with performing mathematical operations on different variable types?
How does the C program handle segmentation faults?
What is structure padding & expalain wid example what is bit wise structure?
hOW Can I add character in to pointer array of characters char *a="indian"; ie I want to add google after indian in the char *a
12. Look at the Code: main() { int a[]={1,2,3},i; for(i=0;i<3;i++) { printf("%d",*a); a++; } } Which Statement is/are True w.r.t the above code? I.Executes Successfully & Prints the contents of the array II.Gives the Error:Lvalue Required III.The address of the array should not be changed IV.None of the Above. A)Only I B)Only II C)II & III D)IV
A collection of data with a given structure for excepting storing and providing on demand data for multiple users a) linked list b) datastructer c) database d) preprocessor
what is the disadvantage of using macros?
Write a C program to read the internal test marks of 25 students in a class and show the number of students who have scored more than 50% in the test. Make necessary assumptions.
How is a macro different from a function?
What is wrong with this program statement? void = 10;
who will call your main function in c under linux?
the number 138 is called well ordered number because the three digits in the number (1,3,8) increase from left to right (1<3<8). the number 365 is not well ordered coz 6 is larger than 5. write a program that wull find and display all possible three digit well ordered numbers. sample: 123,124,125,126,127,128,129,134 ,135,136,137,138,139,145,146,147 148 149,156.......789