What are logical errors and how does it differ from syntax errors?
No Answer is Posted For this Question
Be the First to Post Answer
How can I find out how much free space is available on disk?
What is the Lvalue and Rvalue?
What is the difference between typedef and #define?
what is the differance between pass by reference and pass by value.
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.?
For what purpose null pointer used?
What kind of structure is a house?
Why static is used in c?
1. Write the function int countchtr(char string[ ], int ch); which returns the number of times the character ch appears in the string. Example, the call countchtr(“She lives in NEWYORK”, ‘e’) would return 3.
How #define works?
void main(int n) { if(n==0) return; main(--n); printf("%d ",n); getch(); } how it work and what will be its output...............it any one know ans plz reply
Tell me when would you use a pointer to a function?