Can u return two values using return keyword? If yes, how?
If no, why?
Answer Posted / vignesh1988i
sorryt sorry i made a mistake... i
in the line q=q/2 is wrong
correct as *q=*q/2;
and *w=*w/2;
since addresses cant be divided...
very sorry
| Is This Answer Correct ? | 9 Yes | 6 No |
Post New Answer View All Answers
Given an array of 1s and 0s arrange the 1s together and 0s together in a single scan of the array. Optimize the boundary conditions?
What is the purpose of the following code? Is there any problem with the code? void send(int count, short *to, short *from) { /* count > 0 assumed */ register n = (count + 7) / 8; switch (count % 8) { case 0: do { *to = *from++; case 7: *to = *from++; case 6: *to = *from++; case 5: *to = *from++; case 4: *to = *from++; case 3: *to = *from++; case 2: *to = *from++; case 1: *to = *from++; } while (--n > 0); } }
A function can make the value of a variable available to another by a) declaring the variable as global variable b) Passing the variable as a parameter to the second function c) Either of the two methods in (A) and (B) d) binary stream
Why we use stdio h in c?
is it possible to create your own header files?
Are pointers really faster than arrays?
Compare and contrast compilers from interpreters.
What is c definition?
What is wrong with this program statement?
write a c program to print the next of a particular no without using the arithmetic operator or looping statements?
write a program in c language to print your bio-data on the screen by using functions.
What is sizeof array in c?
What the advantages of using Unions?
What are variables c?
What does %d do?