how to swap 2 numbers within a single statement?
Answers were Sorted based on User's Feedback
Answer / ratishchandra huidrom
if(c=a&&a=b&&b=c)printf("%d %d",a,b);
| Is This Answer Correct ? | 0 Yes | 3 No |
What are data breakpoints?
Why do we use return in c?
what is use#in c
what does the following code do? fn(int n,int p,int r) { static int a=p; switch(n){ case 4:a+=a*r; case 3:a+=a*r; case 2:a+=a*r; case 1:a+=a*r; } } a.computes simple interest for one year b.computes amount on compound interest for 1 to 4 years c.computes simple interest for four year d.computes compound interst for 1 year
which one of follwoing will read a character from keyboard and store in c a)c=getc() b)c=getchar() c)c=getchar(stdin) d)getc(&c) e)none
What is void main () in c?
How do you determine a file’s attributes?
what is the basis for selection of arrays or pointers as data structure in a program
I just typed in this program, and it is acting strangely. Can you see anything wrong with it?
What are dangling pointers in c?
what defference between c and c++ ?
who will call your main function in c under linux?