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
write a c program to check weather a particluar bit is set or not?
12345 1234 123 12 1
Are the outer parentheses in return statements really optional?
main use of recursive function a) processing speed high b) reduce program length/reduce repeated statements c) if you do not, use iterative methods like, for, while or do-while d) all the above
What header files do I need in order to define the standard library functions I use?
1,1,5,17,61,217,?,?.
What is the function of ceil(X) defined in math.h do? A)It returns the value rounded down to the next lower integer B)it returns the value rounded up to the next higher integer C)the Next Higher Value D)the next lower value
What is the difference between array and pointer in c?
What's the difference between constant char *p and char * constant p?
Which type of language is c?
Why we use void main in c?
What do you mean by dynamic memory allocation in c?