IS STRUCTURES CAN BE USED WITHIN AN ARRAY?
Answer Posted / venugopal
YES ,THEY CAN BE,BECAUSE ARRAY CAN HOLD SIMILAR DATA
TYPED ONES,WE ARE USING ONLY STRUCTURE VARIABLES
THEMSELVES.IT WILL BE POSSIBLE.
| Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
What is dynamic variable in c?
What is the difference between text and binary modes?
What are types of structure?
What are header files? What are their uses?
In the DOS enveronment, normal RAM that resides beyond the 1mb mark. a) expanded memory b) swapped memory c) Extended memory d) none
Why is C language being considered a middle level language?
hi friends how r u as soon in satyam my interview is start but i m very confusued ta wat i do plz help me frndz wat can i do plz tell me some question and answers related with "C" which r asked in the interview .
What is declaration and definition in c?
Write a c program to demonstrate character and string constants?
what is reason of your company position's in india no. 1.
Is c easy to learn?
Can variables be declared anywhere in c?
What is a void * in c?
What are runtime error?
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?