how to return 1000 variables from functio9n in c?plz give me
code also
Answer Posted / vignesh1988i
you r right sir.... but he has asked 1000 VARIABLES.. so
only i done in this way.....
| Is This Answer Correct ? | 0 Yes | 4 No |
Post New Answer View All Answers
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); } }
What are the properties of union in c?
Calculate the weighted average of a list of n numbers using the formula xavg = f1x1+f2x2+ ….+ fnxn where the f’s are fractional weighting factors, i.e., 0<=fi<1, and f1+f2+….+fn = 1
Write a program to print factorial of given number without using recursion?
What is extern storage class in c?
can any one tel me wt is the question pattern for NIC exam
How does placing some code lines between the comment symbol help in debugging the code?
what is the difference between north western polytechnique university and your applied colleges?? please give ur answers for this. :)
Create a structure to specify data on students as given below: Roll number, Name, Department, Course, and Year of joining. Assume that there are not more than 450 students in the collage. (a) Write a function to print the names of all students who joined in the last 3 years. (b) Write a function to print the data of a student whose roll numbers are divisible by 4.
Explain the use of fflush() function?
What is the default value of local and global variables in c?
Is c high or low level?
What is a 'null pointer assignment' error?
write a program to display all prime numbers
What is the use of sizeof () in c?