Describe explain how arrays can be passed to a user defined function
No Answer is Posted For this Question
Be the First to Post Answer
please explain every phase in the "SDLC" in the dotnet.
Write a program that takes three variables(a,b,c) in as separate parameters and rotates the values stored so that value a goes to b,b,to c and c to a
what is the use of pointers
How can I read/write structures from/to data files?
1.what are local and global variables? 2.what is the scope of static variables? 3.what is the difference between static and global variables? 4.what are volatile variables? 5.what is the use of 'auto' keyword? 6.how do we make a global variable accessible across files? Explain the extern keyword? 7.what is a function prototype? 8.what does keyword 'extern' mean in a function declaration?
Write a program to display all the prime nos from 1 to 1000000, your code should not take time more than a minute to display all the nos.
Why do we use c for the speed of light?
What is the difference between the = symbol and == symbol?
what will happen if you free a pointer twice after allocating memory dynamically ?
void main() {int a[5],i,b=16; for(i=0;i<5;i++) a[i]=2*i; f(a,5,b); for(i=0;i<5;i++) printf("\n %d",a[i]); printf("\n %d",b); } f(int *x,int n,int y) { int i; for(i=0;i<n;i++) *(x+i)+=2; y=y+2; }wat r the errors in the prg.and improvise the prg to get o/p.?
which is the best site or book for learning C...and i need the content for C..how to get the good programming skills....? can plz suggest me....
if a person is buying coconuts of Rs10,and then sell that coconuts of Rs9,with the loss of one rupee.After that the person became a millaniore.how?