Question: Write Three Adress Code for Below Mentioned Program #include int main ( ) { int n 1 = 0 , n 2 = 1 ,

Write Three Adress Code for Below Mentioned Program
#include
int main(){
int n1=0,n2=1,i,n;
printf("enter the value of n
");
scanf("%d",&n);
printf("%d",n1);
for(i=1;i<=(n-1);i++){
printf("%d
",n2);
int n=n1+n2;
n1=n2;
n2=n;
}
return 0;
}

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!