i) Write the output of the following programs
#include<stdio.h>
int main() {
int p=10,q=11,r;
printf("%d", p);
int a=12,b=5,c=1,y;
y=(a%b)+ 2*c -3;
printf("y=%d", y);
}
ii) Find all the errors if any in column A and write the correct statement in column B for the following program.
A B
#include<stdio.h> #include<stdio.h>
int main[] int main()
c= a+b/2*(4-2) c= a+b/2*(4-2);
printf(%c".c); printf("%c", c);