<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Macro Processor | Student Projects</title>
	<atom:link href="https://studentprojects.in/tag/macro-processor/feed/" rel="self" type="application/rss+xml" />
	<link>https://studentprojects.in</link>
	<description>Microcontroller projects, Circuit Diagrams, Project Ideas</description>
	<lastBuildDate>Mon, 29 Mar 2010 16:22:08 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.1.7</generator>
	<item>
		<title>C program for Macro Processor</title>
		<link>https://studentprojects.in/software-development/c-tutorials/c/c-advanced/c-program-for-macro-processor/</link>
					<comments>https://studentprojects.in/software-development/c-tutorials/c/c-advanced/c-program-for-macro-processor/#comments</comments>
		
		<dc:creator><![CDATA[Editorial Team]]></dc:creator>
		<pubDate>Mon, 29 Mar 2010 16:22:08 +0000</pubDate>
				<category><![CDATA[Advanced programs]]></category>
		<category><![CDATA[c program]]></category>
		<category><![CDATA[download]]></category>
		<category><![CDATA[Macro Processor]]></category>
		<category><![CDATA[lab programs]]></category>
		<guid isPermaLink="false">http://studentprojects.in/?p=1117</guid>

					<description><![CDATA[<p>C program for Macro Processor #include #include #define getx1y1 printf("Enter the order of Ist Matrix:"); scanf("%d%d",&#038;x1,&#038;y1); #define getx2y2 printf("Enter the order of IIst Matrix:"); scanf("%d%d",&#038;x2,&#038;y2); #define inputa printf("Enter the value of a:"); for(i=0;i</p>
<p>The post <a href="https://studentprojects.in/software-development/c-tutorials/c/c-advanced/c-program-for-macro-processor/">C program for Macro Processor</a> first appeared on <a href="https://studentprojects.in">Student Projects</a>.</p>]]></description>
										<content:encoded><![CDATA[<p>C program for Macro Processor</p>
<pre lang="c">
#include<stdio.h>
#include<conio.h>
#define getx1y1
printf("Enter the order of Ist Matrix:");
scanf("%d%d",&x1,&y1);

#define getx2y2
printf("Enter the order of IIst Matrix:");
scanf("%d%d",&x2,&y2);

#define inputa
printf("Enter the value of a:");
for(i=0;i<x1;i++)
for(j=0;j<y1;j++)
scanf("%d",&#038;a[i][j]);

#define inputb
printf("Enter the value of b:");
for(i=0;i<x2;i++)
for(j=0;j<y2;j++)
scanf("%d",&#038;b[i][j]);

#define addab
for(i=0;i<x1;i++)
{
for(j=0;j<y1;j++)
{
c[i][j]=0;
for(k=0;k<x1;k++)
{
c[i][j]=c[i][j]+a[i][k]*b[k][j];
}
}
}

#define output
printf("n The Result is:");
for(i=0;i<x1;i++)
for(j=0;j<y1;j++)
printf("tn%d",c[i][j]);

void main()
 {
   int a[5][5],b[5][5],c[5][5],i,j,k,x1,x2,y1,y2;
  clrscr();
  getx1y1;
  getx2y2;
  if((x1==x2)&#038;&#038;(y1==y2))
  {
    inputa;
    inputb;
    addab;
   output;
  }
 else
   printf("Matrix Addition Not Possible");
getch();
}
</pre><p>The post <a href="https://studentprojects.in/software-development/c-tutorials/c/c-advanced/c-program-for-macro-processor/">C program for Macro Processor</a> first appeared on <a href="https://studentprojects.in">Student Projects</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>https://studentprojects.in/software-development/c-tutorials/c/c-advanced/c-program-for-macro-processor/feed/</wfw:commentRss>
			<slash:comments>4</slash:comments>
		
		
			</item>
	</channel>
</rss>
