6)What would be the output?
main()
{
int u=1,v=3;
pf("%d%d",u,v);
funct1(&u,&v);
pf("%d%d\n",u,v);
}
void funct1(int *pu, int *pv)
{
*pu=0;
*pv=0;
return;
}
a)1 3 1 3
b)1 3 1 1
c)1 3 0 0
d)1 1 1 1
e) 3 1 3 1
Answers were Sorted based on User's Feedback
Q-1: Create a structure to specify data on students given below: Roll number, Name, Department, Course, Year of joining Assume that there are not more than 450 students in the college.
consider the following program sigment int n,sum=1; switch(n) { case 2:sum=sum+2; case 3:sum*=2; break; default:sum=0;} if n=2, what is the value of sum a.0 b.6 c.3 d.none
main() { float a=3.2e40; printf("%d",a); }
#include main() { enum _tag{ left=10, right, front=100, back}; printf("left is %d, right is %d, front is %d, back is %d",left,right,front,back); }
What are categories used for in c?
what is op? for(c=0;c=1000;c++) printf("%c",c);
what does " calloc" do?
Illustrate it summing the series 2+4+6+......to n terms using (i) while loop (ii) do-while loop
What is the proper way of these job Tell me about there full work
What do you mean by scope of a variable in c?
what will be the output of this program? void main() { int a[]={5,10,15}; int i=0,num; num=a[++i] + ++i +(++i); printf("%d",num); }
What is %lu in c?