/*WAP to Nested macro expansion*/
#include<stdio.h>
#include<conio.h>
#define AND &&
#define ARANGE ( a > 25 AND a < 50 )
main( )
{
int a = 30 ;
if ( ARANGE )
printf ( "within range" ) ;
else
printf ( "out of range" ) ;
getch();
}
there is some good c ,java, sql and vb6 programs,Windows tricks, sms shorthand etc
#include<stdio.h>
#include<conio.h>
#define AND &&
#define ARANGE ( a > 25 AND a < 50 )
main( )
{
int a = 30 ;
if ( ARANGE )
printf ( "within range" ) ;
else
printf ( "out of range" ) ;
getch();
}
No comments:
Post a Comment