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
inline function is there in c language?
Explain Doubly Linked Lists?
main() { char *p1="Name"; char *p2; p2=(char *)malloc(20); while(*p2++=*p1++); printf("%s\n",p2); }
6)swap(int x,y) { int temp; temp=x; x=y; y=temp; } main() { int x=2;y=3; swap(x,y); } after calling swap ,what are yhe values x&y?
5. distance conversion: Convert a distance from miles to kilometers .there are 5280 feets per mile,12 inches per foot .2.54 centimeters per inch and 100000centimeters per kilometer
What are global variables?
write a program to sort the elements in a given array in c language
There is a practice in coding to keep some code blocks in comment symbols than delete it when debugging. How this affect when debugging?
Is stack a keyword in c?
What is calloc() function?
What is enumerated data type in c?
What is Lazy evaluation in C? Give an example.