Answer Posted / srilatha
1.structure contains only data members.
class contains data members and member functions.
2.in structures we can use keyword struct.
in classes we can use keyword class.
| Is This Answer Correct ? | 5 Yes | 3 No |
Post New Answer View All Answers
Which driver is a pure java driver
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]
How can you find the day of the week given the date?
A float occupies 4 bytes in memory. How many bits are used to store exponent part? since we can have up to 38 number for exponent so 2 ki power 6 6, 6 bits will be used. If 6 bits are used why do not we have up to 64 numbers in exponent?
What is %s and %d in c?
What are the different types of control structures in programming?
List the difference between a 'copy constructor' and a 'assignment operator' in C?
What are pointers? Why are they used?
Process by which one bit pattern in to another by bit wise operation is?
Tell me the use of bit field in c language?
Why is it important to memset a variable, immediately after allocating memory to it ?
What is the purpose of main( ) in c language?
What is wrong with this code?
Explain what are preprocessor directives?
What is array in c with example?