adspace
what is the most appropriate way to write a multi-statement
macro?
Answer Posted / thunder
Using '\' forward slash at the end of macro,we can able to
write a multi-statement macro's in our source code.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What is the general form of a C program?
Differentiate between null and void pointers.
What are pointers? What are different types of pointers?
write a c program to find the sum of five entered numbers using an array named number
ATM machine and railway reservation class/object diagram
`write a program to display the recomended action depends on a color of trafic light using nested if statments
develop algorithms to add polynomials (i) in one variable
The % symbol has a special use in a printf statement. How would you place this character as part of the output on the screen?
Write a C program that will accept a hexadecimal number as input and then display a menu that will permit any of the following operations to be carried out: Display the hexadecimal equivalent of the one's complement. (b) Carry out a masking operation and then display the hexadecimal equivalent of the result. (c) Carry out a bit shifting operation and then display the hexadecimal equivalent of the result. (d) Exit. If the masking operation is selected, prompt the user lor the type of operation (bitwise and, bitwise exclusive or, or bitwise or) and then a (hexadecimal) value for the mask. If the bit shifting operation is selected. prompt the user for the type of shift (left or right), and then the number of bits. Test the program with several different (hexadecimal) input values of your own choice.
Can a function be forced to be inline? Also, give a comparison between inline function and the C macro?
How can I implement sets or arrays of bits?
What is pointers in c with example?
swap 2 numbers without using third variable?
What is dynamic dispatch in c++?
What is variable initialization and why is it important?