how to return 1000 variables from functio9n in c?plz give me
code also
Answer Posted / codee
extending the previous answer by passing array instead of
all variables
| Is This Answer Correct ? | 5 Yes | 2 No |
Post New Answer View All Answers
What is the process to generate random numbers in c programming language?
what is the basis for selection of arrays or pointers as data structure in a program
Is flag a keyword in c?
Explain the use of #pragma exit?
Why is a semicolon (;) put at the end of every program statement?
What is the use of function in c?
What is the advantage of using #define to declare a constant?
If fflush wont work, what can I use to flush input?
Explain setjmp()?
Can you think of a logic behind the game minesweeper.
What does the characters “r” and “w” mean when writing programs that will make use of files?
Can we change the value of #define in c?
A banker has a seif with a cipher. Not to forget the cipher, he wants to write it coded as following: each digit to be replaced with the difference of 9 with the current digit. The banker chose a cipher. Decipher it knowing the cipher starts with a digit different than 9. I need to write a program that takes the cipher from the keyboard and prints the new cipher. I thought of the following: Take the input from the keyboard and put it into a string or an array. Go through the object with a for and for each digit other than the first, substract it from 9 and add it to another variable. Print the new variable. Theoretically I thought of it but I don't know much C. Could you give me any kind of hint, whether I am on the right track or not?
How can I read in an object file and jump to locations in it?
disply the following menu 1.Disply 2.Copy 3.Append; as per the menu do the file operations 4.Exit