Logo 
Search:

C Programming Articles

Submit Article
Home » Articles » C Programming » Homework HelpRSS Feeds

Example of preprocessor - 5

Posted By: Ramhart Fischer     Category: C Programming     Views: 3749

Example of preprocessor - 5.

Code for Example of preprocessor - 5 in C Programming

#include <stdio.h>
main()
{
    printf(“A\n”);        
    
     #line100            
    printf(“B\n”);        
    printf(“C FILE %s  LINE %d\n”, __FILE__, __LINE__ );        
     #line200        

    printf(“D\n”);    
    printf(“E\n”);    
}
  
Share: 


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

Ramhart Fischer
Ramhart Fischer author of Example of preprocessor - 5 is from Frankfurt, Germany.
 
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!