what is difference between array and structure?
Answer Posted / dhivya
when we are declaring an array a variable is enough with
the size.
when we are declaring structure it contain different data
types.
| Is This Answer Correct ? | 16 Yes | 18 No |
Post New Answer View All Answers
What are the differences between Structures and Arrays?
Explain the difference between the local variable and global variable in c?
What are the uses of a pointer?
What is calloc in c?
Which is better oop or procedural?
What are identifiers and keywords in c?
Explain what are preprocessor directives?
What is a #include preprocessor?
What do you mean by recursion in c?
How can I read data from data files with particular formats?
WRITE A PROGRAM TO MERGE TWO SORTED ARRAY USING MERGE SORT TECHNIQUE..
What is the function of multilevel pointer 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?
What are the benefits of c language?
What is a double c?