what is difference between array and structure?
Answer Posted / abinaya
array:arrray is a collection of similar datatypes stored in
common name.it is a scpe of variable
structure:structure is a dissimilar datatypes stord in
common name.it is a scope of datatype
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
Explain how can I make sure that my program is the only one accessing a file?
#include main() { enum _tag{ left=10, right, front=100, back}; printf("left is %d, right is %d, front is %d, back is %d",left,right,front,back); }
Explain how can you determine the size of an allocated portion of memory?
Can the sizeof operator be used to tell the size of an array passed to a function?
What are the different types of data structures in c?
How to check whether string is a palindrome, WITHOUT USING STRING FUNCTIONS?
In cryptography, you could often break the algorithm if you know what was the original (plain) text that was encoded into the current ciphertext. This is called the plain text attack. In this simple problem, we illustrate the plain text attack on a simple substitution cipher encryption, where you know each letter has been substituted with a different letter from the alphabet but you don’t know what that letter is. You are given the cipherText as the input string to the function getwordSets(). You know that a plain text "AMMUNITION" occurs somewhere in this cipher text. Now, you have to find out which sets of characters corresponds to the encrypted form of the "AMMUNITION". You can assume that the encryption follows simple substitution only. [Hint: You could use the pattern in the "AMMUNITION" like MM occurring twice together to identify this]
What are the uses of a pointer?
Explain setjmp()?
How do I round numbers?
why wipro wase
How can my program discover the complete pathname to the executable from which it was invoked?
What are the different types of endless loops?
What is gets() function?
What is the time and space complexities of merge sort and when is it preferred over quick sort?