Preprocessor and Macro function in C language Reviewed by Momizat on . Like as the declaration of general variable C allow to define identifies with data value by using '# define'.Which is known as preprocessor. it is compile by th Like as the declaration of general variable C allow to define identifies with data value by using '# define'.Which is known as preprocessor. it is compile by th Rating: 0

Preprocessor and Macro function in C language

Like as the declaration of general variable C allow to define identifies with data value by using ‘# define’.Which is known as preprocessor. it is compile by the compiler before the execution of the main source code of the program.

#define x 20;

Que:-Input a radius of a circle and print its a area.

#include <stdio.h>;
#include <conio.h>;
#define p 3.14;
	float y,z;
	printf("Enter a radius of circle:");
	printf("Area is :%f",z);


Macro function

The preprocessor will replace call macro function used in the program by there function body before the compilation the main feature of macro function are that there will be know explessive function call during execution since the function body each secuated and execuated at the point of macro power during compilation.The directive ‘#define’ indicates the start of macro function.

Syntax:-#define functionname() statement of function

Ex:- Que-create a macro funcion sum to print sum of two numbers.

#include <stdio.h>;
#include <conio.h>;
#define sum() (4+5);
	printf("Sum is-%d",sum());

Comments (109)

  • Janell

    Nice answer back in return of this difficulty with firm arguments and describing the whole thing about that.

  • Brooks

    Would love to always get updated great web site!


    Excellent, what a webpage it is! This weblog provides valuable information to us, keep it

  • Fleta

    Very soon this website will be famoous among all blog visitors, due
    to it’s good content

  • Tammie

    I don’t ordinarily comment but I gotta admit thank you for the
    post on this one :D.

  • Brittany

    I would like to thnkx for the efforts you have put in writijg
    this blog. I am hoping the same high-grade site poist from
    you in the upcoming as well. In fact your creative writing abilities has inspired me
    to get my own website now. Really the blogging is spreading
    its wings quickly. Your write up is a good example of

  • Jorja

    Hey there, You’ve done an incredible job. I will definitely
    digg it and personally suggest too my friends.
    I’m confident they wikl be bbenefited from this website.

  • Jaclyn

    Hey there, I thnk your blog might bbe havng browsrr compatibility issues.
    When I look at your website in Ie, it looks fine bbut when opening in Internet Explorer,
    it has some overlapping. I just wanted to give you a quick heads up!
    Other then that, very good blog!

  • Vernell

    I elieve tbis is among the so much signifcicant info for me.
    And i’m happy studing your article. But should observation on few common issues,
    The wweb site style is perfect, the articles is actually excellent : D.
    Good task, cheers

  • Edna

    Thanks for finally writing about > Preprocessor and Macrfo
    function in C language | PHP Short Ntes < Loved it!

  • Shirleen

    Great goods ffrom you, man. I have underatand your stuff previous to and you’re just
    extremely fantastic. I actually like what you have acquired
    here, certainly like whast you’re stating andd the way in which you say it.
    You make it enjoyable and you still take care of to keep it smart.

    I can’t wait tto read far more from you. This is
    actually a wonrerful website.

  • Fredric

    You are so interesting! I do not believe
    I’ve read through anything like this before. So nice tto discover somebody witth
    genuime thoughts onn this subject. Seriously.. tthanks for starting this up.

    This web site is something that’s needd on the web, someone with a littl originality!

  • Dotty

    Good day very cool web site!! Man .. Excellent ..
    Wonderdful .. I will bookmark our blog and take the feeds additionally?
    I am happoy to seewk out so many helpful information here in the puut up, we need
    work out more techniques in this regard, thanks for sharing.
    . . . . .

  • Cristine

    Hi, i think that i saaw you visited my blog so i came to “return the favor”.I’m trying to find things to improve my website!I suppose its ook to use some off your ideas!!

  • Nancy

    Pretty! This has been a really wwonderful article. Many thanks for prividing this

  • Joie

    I’ve been browqsing on-line greater than three hours these days,
    yet I never discoveed any attention-grabbing article like yours.
    It is pretty price enoug foor me. In mmy view,
    if all web owners and bloggers made justt right content material as
    you probably did, the web shall be much more useful than ever before.

  • Harley

    Yes! Finally someone writes about see more.

  • Jeffery

    This is my firs time pay a quick visit at here and i aam genuinely pleassant to read everthing at alone place.

  • Rosemarie

    I could not refrain fromm commenting. Well written!

  • Michell

    I’m curious to find out what blog platform you are utilizing?
    I’m having some small security issues witfh my latest website and I would like to find something
    more risk-free. Do you have any recommendations?

  • Gabriella

    Hmm is anyone else encounteringg problems with the images on this blog loading?
    I’m trying to determine if its a problem on my end or if
    it’s the blog. Any feedback would be greatly appreciated.

  • Damion

    Hurrah, that’s what I was exploring for, what a material!
    present here at this blog, thanks admin of this web page.

  • minecraft

    No matter if some one searches for his necessary thing, thus he/she wants to be available that in detail,
    so that thing is maintained over here.

  • Tyrone

    If some one needs expert viw on the topic of blogging fter
    that i advise him/her to go to see this web site, Keep
    up tthe pleasant job.

  • Caitlin

    Howdy, I do beleve youur web sikte mayy be having
    interrnet browser compatinility problems. Whhen I look at
    your weeb site in Safari, it looks fine however when opening
    in Internet Explorer, it’s got some overlapping issues.
    I simply wanted to provide you with a quick heads up!
    Apart from that, great blog!

  • minecraft

    I will right away clutch your rss as I can’t to find your e-mail subscription link or e-newsletter service.

    Do you have any? Please permit me recognize in order that I
    may just subscribe. Thanks.

  • Debra

    you are truly a just right webmaster. The web site loading speed
    is incredible. It kind of feels that you are doing any distinctive trick.

    Also, The contents are masterpiece. you’ve done a great task on this topic!

  • Anderson

    Greetings! Verry useful advice within this article!
    It iis the litytle changes that will make the largest
    changes. Many thanks for sharing!

  • Terry

    Since the admin of this site is working, no question very rapidly
    it wiill be famous, due to its quality contents.

  • Antoine

    I always spdnt my half an hour to read this weeb site’s articles or reviews all the
    time along with a cup of coffee.

  • Blanca

    Incredible! This blog looks just like my oold one! It’s on a entirely different subject but it haas pretty much the samje layout and design. Superb choice of colors!

  • Max

    Appreciating the dedication you put into your website andd in depth information you offer.

    It’s nice to come across a blog every once iin a while that isn’t the same out of date rehashed material.
    Excellent read! I’ve bookmarked your site and I’m including yur
    RSS feeds too my Google account.

  • Reuben

    I every time spernt my half an hour to read this blog’s
    content every day along with a cup of coffee.


    Pretty element of content. I just stumbled upon your website and in accession capital to say that
    I acquire actually enjoyed account your weblog posts. Any way I
    will be subscribing to your augment or even I fulfillment you get entry too constantly quickly.

  • Rodney

    I’ve been surfing online more than 3 hours these days, but
    I by no means found any interessting article like yours.
    It is lovely worfth sufficient for me. Personally, if
    all webb owners and bloggers made just right content as you probably did, the internet might be muhh more helpful than ever before.

  • Ericka

    Hurrah! In tthe end I got a webpage from where I know
    how to genuinely take useful data regarding my study aand knowledge.

  • Danny

    It’s oing to bee end off mine day, but before finish I am reading this enormous piece of writing
    tto improve my experience.

  • Lewis

    I’m now not certain the place you’re getting your info, however great topic.
    I must spend some time studying more or understanding more.
    Thank you for fantastic information I was looking for this info for my mission.

  • James

    I think this is among the most vital info for me.
    And i am glad reading your article. But should remark
    on some general things, The web site styyle is perfect, the articles is really nice :
    D. Goood job, cheers

  • Kent

    I am noo longer sure wyere you are getting your
    info, however great topic. I must spend some time learning more or understanding more.
    Thaks for magnificent infto I was looking for this information for my mission.

  • Joni

    Hi, I do believe this is a great website. I stumbledupon it ;) I will come back yet again since
    i have bookmarked it. Money and freedom is the best way to change, may you be rich and continue to guuide

  • Jarred

    Just want tto say your article is as astonishing.
    The clearness in your pput up is just great and i can assume youu
    are knowledgeable on this subject. Fine together with your permission allow me to clutch our
    RSS feed to keep updated with imminent post.
    Thank you 1,000,000 and please keep up the rewarding

  • Joseph

    After looking over a few of the articles
    on your web page, I seriously appreciate your technique of writing a blog.
    I book marked it to mmy bookmzrk website list and will be checking back in the near future.
    Take a look at my web site too and tell me
    your opinion.

  • minecraft

    I go to see everyday some blogs and sites to read articles, but
    this website gives feature based posts.

  • Crystle

    Helklo wiuld you mind sharing which blog platform you’re using?
    I’m looking to start my own blog inn the near future but I’m hazving a difficult time choosing betweren BlogEngine/Wordpress/B2evolution and
    Drupal. The reason I ask is because your layout sems different then most blogs
    and I’m looking for somethiing completely unique.
    P.S My apologiies for being off-topic but I had to ask!

  • Genie

    It’svery eaasy to find out any ttopic on web as compared to books, as
    I found this piece of writing at this web page.

  • Tammi

    naturally like your website however you need to test the spelling on several of your posts.

    Manny of them are rife with spelling problems and I in finding it ver bothersome to tell the treuth nevertheless I’ll certainly
    come again again.

  • Walter

    You could certainly see yohr siills within thhe work you write.
    The arena hopes for even more passionate writers such as youu
    who are not afraid to mwntion how they believe. Always follow your heart.

  • Marietta

    Iaam sure this post has touched all tthe internet people, its really
    really pleasant paragraph on building up new blog.

  • Tamera

    Woah! I’m really enjoying the template/theme
    of this website. It’s simple, yet effective. A
    lot of times it’s hard to get that “perfect balance” between superb usability and appearance.
    I must say you have done a superb job with this. In addition, the blog loads very fast for me on Opera.
    Outstandiung Blog!

  • Barney

    This website was… how do you say it? Relevant!! Finally I have found something that helped
    me. Thank you!

  • Marilynn

    Pretty! This has been a really wonderfjl article. Thank
    you for providing this info.

  • Amee

    Hello everyone, it’s my first go to see at this web site,
    and article iss genuinely fruitful for me, keep up posting
    these articles or reviews.

  • Tilly

    Thanks for finally writing about > Preprocessor and Macro function in C
    language | PHP Short Notes < Loved it!

  • minecraft

    Very descriptive post, I enjoyed that bit. Will
    there be a part 2?

  • Moses

    I pay a quick visit eacfh day a few websites aand websites to read posts, except this webpage
    provides feature based content.

  • Cory

    Hi, I do think this is an excellent site. I stumbledupon it ;) I am going tto
    come back yet aggain since I book-marked it. Money and freedom
    iis the greatdst way to change, mmay you be rich and continue
    tto help other people.

  • Tammara

    Hmm iss anyone else experiencing problems with
    thee pictures on this blog loading? I’m tying to figure out
    if its a problem on my end or if it’s the blog.

    Any feedback would be greatly appreciated.

  • minecraft

    Somebody essentially assist to make significantly articles I’d
    state. That is the very first time I frequented your website page and up to now?

    I amazed with the analysis you made to make this actual submit amazing.
    Wonderful process!

  • Sherrie

    I know this web page offers quality based articles and
    other stuff, is there any other website which offers these kinds
    of things inn quality?

  • Dian

    Hello there, just became apert to your blog through Google, and
    found that it is truly informative. I’m gonna watcch out forr brussels.
    I’ll appreciate if you continue this in future. Numerous people will be benefited
    from your writing. Cheers!

  • Christena

    I’m impressed, I have to admit. Seldom do I encounter a blog that’sboth equalply educative and
    amusing, and let me tell you, you have hit the nail on the head.
    Thee prolem iis something not enough people arre speaking intelligently about.
    Now i’m very happy that I stumbled across this iin my search for something relating to this.

  • Scot

    At this time it sounds like BlogEngine is
    the best blogging platform available right now. (from what I’ve
    read) Is that what you’re using on your blog?

  • Claudette

    Heey there! I know this is kinda off topic but I’d figured I’d ask.
    Would you be interested in exchanging links or maybe guest
    authoring a blog article or vice-versa? My blog addresses
    a llot of the same topics as yours and I think we could greatly benefit from each other.
    If you happen to be interested feel free to shoot me an email.
    I look forward to hearing from you! Supewrb blog by tthe way!

  • Tammy

    Heya aare using Wordprrss for your blog platform? I’m new too the blog wordld but I’m trrying too get started and set up my own. Do you require any html
    coding knowledge to make your ownn blog? Any help would be
    greatly appreciated!

  • Beatriz

    It’s a pity you don’t have a donate button! I’d wityhout a doubt donate to this fantastic blog!

    I guess for now i’ll settle for book-marking and adding
    your RSS feed to my Google account. I look forward to brand new updates and will
    share this site with my Facebook group. Chat soon!

  • Delmar

    I have been browsing on-line greater than 3 hours today, yet
    I never discovered any interesting article like yours.

    It’s lovely orth sufficient for me. Personally, if all webmasters and bloggers made just right content materil as you probably did, thhe web
    might be a lot more helpful thqn ever before.

  • Kina

    all the time i used to read smaller articless which also clear thheir
    motive, aand that is also happsning with this article which I am readin at this place.

  • Collette

    You’re so cool! I do not suppose I’ve read through a single thing like this before.
    So nice to discover someone with uniquye thoughts on thiis subject.
    Really.. thank you for starting this up. This web site is onee
    thing that is required on the internet, someone with some originality!


    What’s up tto all, the contentts existing at this website
    are in fact awesome for people experience, well,
    keep up the nice work fellows.

  • Tandy

    Hey I know this is off topic but I was wonderinbg if you knew of any widgets I cojld add to mmy blog that automaticlly
    tweet my newest twitter updates. I’ve been looking for a plug-in like this for
    quite some time and was hoping maybe yyou would have some experience with something like this.
    Please let me know if you run into anything. I truly enjoy reading yolur blog and I look forwared to your new updates.

  • Kerstin

    Having read this I believed it was rather informative.
    I appreciate you spending some time and efforrt to putt thiss content together.
    I once again find myself personallly spending way too much time
    both reading and posting comments. But so what,
    it was still worthwhile!

  • Gabrielle

    Thank you for sharing yojr thoughts. I truly apprecfiate your efforts and I am waiting forr your
    fuhrther write ups thank you once again.

  • Shawna

    Superb website you hzve here but I was curious iif you knew of anyy communiity forums that cover the same topics tzlked
    about here? I’d really love to be a part of community
    where I can gget opinions from other knowledgeable
    individuals that share the same interest. If you have any suggestions,
    please let mee know. Appreciate it!

  • Skye

    Its like you read my mind! You appear to know a lot about
    this, like you wrote the book in it or something. I think that you could do with some pic to drive thhe message home a bit, but
    instead of that, this is excellent blog. A fantastic read.
    I’ll definitely be back.

  • Merry

    Greetings! Very helpful advice in this particular post!
    It’s the little chwnges tbat will make the most
    significant changes. Many thanks for sharing!

  • Leonardo

    I was recommended this web sie via my cousin. I’m not certain whether this submi is written by means of him as nno one else realize such designated
    aboout my trouble. You’re incredible! Thank you!

  • Melody

    Appreciating the time andd energy you put
    into your website and in depth information you
    present. It’s nice to come across a blog every once in a while that isn’t the same unwanted
    rehashed information. Excellent read! I’ve bookmarked your sitre and I’m including your RSS feeds
    to my Google account.

  • Merri

    My brother suggested I might like this weeb site. He was oncee totally right.
    This publish truly made my day. You cann’t consider just how much time I had spent foor thks information! Thank you!

  • Lyndon

    Nice respond in return of tis issue with solid arguments and explaining all on the topic of that.

  • Earlene

    We stumblsd oveer here different webnsite and
    thought I may as well check things out. I like what
    I see so i am just following you. Look forward to going over your
    web page again.

  • Julius

    It’s great that youu are getting ideas from this post as well as from
    our discussion made here.

  • Elizabeth

    Thank you for thhe good writeup. It in fact was a amusement account
    it. Lookk advanced to far added agreeable from you! By the
    way, how could we communicate?


    Really when someone doesn’t know afterward its up to other viewers that they wwill assist, so hdre it
    takes place.

  • Vivien

    I’m not sure exactly wwhy but thks website is loading incredibly slow for me.

    Is anyone else having this problem or is it a issue onn
    my end? I’ll check back later and see if the problem still exists.

  • Brodie

    These arre truly fantastic ideas in concerning
    blogging. You have touched some pleasant points
    here. Any way keep up wrinting.

  • Mildred

    WOW just what I was looking for. Came here by searching for for more

  • Trina

    of course like your web-site but you need to take
    a look at the spelling on quijte a few of your posts.
    Sevveral of them are rife with spelling issues and I to find it very troublesome to tell
    the reality nevertheless I will definitely come back again.

  • Vernell

    Hello there! This post could not be written much better!
    Going through this article reminds me of my previous roommate!
    He continually kept preaching about this. I most certainly will send this post to him.

    Fairly certain he’ll have a very good read. I appreciate you for

  • Leonard

    I think the admin of this website is really working hard for his website, for the
    reason that here every matesrial is quality based information.

  • Sidney

    You can certainly see your enthusiasm in the article you write.
    The sector hopes for more passionate writers like you whoo
    are not afraid to say how they believe. At all times ggo after your heart.

  • Lloyd

    Howdy! I’m at work surfing around your blog from my new apple
    iphone! Just wanted to say I love reading yopur blog and
    look forward to all your posts! Keep up the outstanding work!

  • Garnet

    Wondeeful beat ! I wish to apprentice even as you amernd
    your website, how can i subscribe for a weblog web
    site? The account aided me a aappropriate
    deal. I were tiny bit familiar of this you broadcast offered vibrant clear idea

  • James

    I just couldn’t leave youyr web site before suggesting that I actually loved the standartd
    info an inividual supply in your guests? Is gonna bbe again regularly
    to investigate cross-check new posts


    I always used to study piece of writging in news papers but now as I
    am a user of internet so from now I am using net for articles, thnanks to

  • Margo

    I just could not deepart your web site prior to suggesting that I extremely
    enjoyed the standard information an individual supply in your visitors?

    Is gonna be again continuously in order to check out new posts

  • Aaron

    Hi there! Do you use Twitter? I’d like to follow
    you iff that would be ok. I’m absolutely enjoying your blog
    and look forward to new updates.

  • Lan

    What’s up Dear, aare yoou truly visiting this web site on a
    regular basis, if so after that yyou will without doubt ttake good knowledge.

  • Jolene

    I just couldn’t leave your site prior to suggestihg that I actually enjoyed the usual info a person supply in your guests?
    Is going to be again frequently in order to check up on new posts

  • how to get help in windows 10

    At this time it sounds like Drupal is the top blogging platform
    available right now. (from what I’ve read) Is that
    what you are using on your blog?

  • gamefly free trial

    Hi there, for all time i used to check website posts here in the
    early hours in the morning, as i like to find out more and more.

  • Humberto

    Simplyy want to say your article is as astonishing.
    The clarity on your submit is simply great and that i can think you’rea professional on this subject.
    Fine along with your permission let me to clutch your feed to stay up
    to date with coming near near post. Thankss a million and please keep uup the gratifying work.

  • Roscoe

    If you are going for most excellent contents like me, only go to seee thius web site
    aall the time ffor the reason that it gives quality contents,


    Hello everyone, it’s my first pay a quick visit
    at this web page, and article is really fruitful in favor of me, keep up
    posting such posts.

  • Tamika

    Excellent post. I waas checking constantly this blog and I
    am impressed! Very useful info specifically the final secction :) I take
    care of sch information much. I was seeking this particular information forr a long time.
    Thank you and best of luck.

  • Rueben

    WOW just what I was searching for.Came here by searchinhg
    for Preprocessor and Macro function in C language

  • Scot

    Verry quickly this web page will be famous amid all blogging people, due to it’s fastidious articles

  • Eliza

    Thanks on your marvelous posting! I actually enjoyed reading it, you might be a great author.

    I will ensure that I bookmark your blog and will come
    back later in life. I want to encourage continue your great posts, have a nice evening!


Leave a Comment to Skye

© 2014 Powered By