Already have an account? Get multiple benefits of using own account!
Login in your account..!
Remember me
Don't have an account? Create your account in less than a minutes,
Forgot password? how can I recover my password now!
Enter right registered email to receive password!
Write a program that illustrate Macros with Arguments?
Macros is able to also have arguments, just as functions can.
#define AREA(x)(3.14*x*x)
Then at any time the preprocessor finds the phrase AREA (x) it expands it into the statement 3.14 * x * x be careful not to leave a blank space between the macro template and its arguments while defining the macro. The whole macro expansion should also be enclosed within parentheses.
# define AREA(x)(3.14*x*x) # include
main() { float x=2.5,result; result=AREA(x); printf("%f",result); }
Explain about Evaluation of Expression in c language? An Expressions are evaluated using an assignment statement of the form: variable = expression; The Variable is any v
Explain redirection in c++
C Program to FIND THE EVEN WORDS IN THE STRING #include conio.h> #include stdio.h> void main() { char a[50],temp; int i=0,k=0,l[25],c=0,r=0;
Depreciation to a salvage value of 0. For tax purposes an item may be depreciated over a period of several years, n. With the straight line method of depreciati
The Malt Shop restaurant charges $2.99 for burgers, $1.29 for fries, and $1.25 for sodas. Write a program that allows a restaurant employee to enter an order (the number of bur
A Padovan string P(n) for a natural number n is defined as: P(0) = ‘X’ P(1) = ‘Y’ P(2) = ‘Z’ P(n) = P(n-2) + P(n-3), n>2 where + denotes string concatenation. For a string of t
What is a hash function? Hash function: This is the method from the set 'K' of keys into the set 'L' of memory addresses. H: K → L These are used to verify the address
This assignment builds on Homework 3. The two major modifications are the instruction of pointers and the calculation of mortgage interest rates. Requirements for Project 2:
There is a pebble merchant. He sells the pebbles, that are used for shining the floor. His main duty is to take the length of the room’s sides. But he sometimes mistakes doing that
Define Scope Rules of C program - Computer Programming? The fundamental rule of scope is that identifiers are accessible only within the block in which they are declared and th
Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!
whatsapp: +91-977-207-8620
Phone: +91-977-207-8620
Email: [email protected]
All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd