1.what is the output of the snapped 
#include<stdio.h>
void main()
{
int i,a,b,n;
printf("enter the a and b\n");
scanf("%d%d",&a,&b);
scanf("%d",&n);
for(i=0;i<=n+1;i++)
printf("%d\n",a);
}

Posted on by