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


Please Help Members By Posting Answers For Below Questions

What is the general form of a C program?

1100


Differentiate between null and void pointers.

1259


What are pointers? What are different types of pointers?

1266


write a c program to find the sum of five entered numbers using an array named number

2249


ATM machine and railway reservation class/object diagram

5337


`write a program to display the recomended action depends on a color of trafic light using nested if statments

2216


develop algorithms to add polynomials (i) in one variable

2261


The % symbol has a special use in a printf statement. How would you place this character as part of the output on the screen?

1361


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.

5449


Can a function be forced to be inline? Also, give a comparison between inline function and the C macro?

1183


How can I implement sets or arrays of bits?

1119


What is pointers in c with example?

1169


swap 2 numbers without using third variable?

1211


What is dynamic dispatch in c++?

1140


What is variable initialization and why is it important?

1394