Logo 
Search:

C Programming Articles

Submit Article
Home » Articles » C Programming » BeginnersRSS Feeds

Example of preprocessor - 2

Posted By: Georgia Hughes     Category: C Programming     Views: 4594

Example of preprocessor - 2.

Code for Example of preprocessor - 2 in C Programming

#include <stdio.h>
#define VAL 40;    //A#undef  VAL         //B#define  VAL 40    //C

main()
{
    printf (“%d\n”, VAL);    //D
}
[/Code]
  
Share: 


Didn't find what you were looking for? Find more on Example of preprocessor - 2 Or get search suggestion and latest updates.

Georgia Hughes
Georgia Hughes author of Example of preprocessor - 2 is from London, United Kingdom.
 
View All Articles

 
Please enter your Comment

  • Comment should be atleast 30 Characters.
  • Please put code inside [Code] your code [/Code].

 
No Comment Found, Be the First to post comment!