How many ways are there to swap two numbers without using
temporary variable? Give the each logic.
Answer Posted / megha
in 7 types
| Is This Answer Correct ? | 2 Yes | 11 No |
Post New Answer View All Answers
How can I make sure that my program is the only one accessing a file?
There seem to be a few missing operators ..
What are the valid places to have keyword “break”?
Why are some ANSI/ISO Standard library routines showing up as undefined, even though I've got an ANSI compiler?
Explain the use of 'auto' keyword in c programming?
Can we compile a program without main() function?
What do you understand by friend-functions? How are they used?
What is the description for syntax errors?
find the output? void r(int a[],int c, int n) { if(c>n) { a[c]=a[c]+c; r(a,++c,n); r(a,++c,n); } } int main() { int i,a[5]={0}; r(a,0,5); for(i=0;i<5;i++) printf("\n %d",a[i]); getch(); }
Explain bit masking in c?
Implement bit Array in C.
What is #include stdlib h?
FORMATTED INPUT/OUTPUT functions are a) scanf() and printf() b) gets() and puts() c) getchar() and putchar() d) all the above
How many levels of indirection in pointers can you have in a single declaration?
How can a program be made to print the line number where an error occurs?