Answer Posted / tapan pal
C
1)Structured programing.
2)In build functions are used to allocate the memory
dynamically.
3)Struct members are public by default.
4)Data and functions are separated.
C++
1)Object oriented programing.
2)New ,Delete operators are used to allocate the memory
dynamically
3)class members are private by default.
4)Together data and functions into single entity.
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
Is calloc better than malloc?
Explain the ternary tree?
write a program to copy the string using switch case?
How do we open a binary file in Read/Write mode in C?
What is a #include preprocessor?
What are the characteristics of arrays in c?
Explain null pointer.
Do you have any idea how to compare array with pointer in c?
what are the facialities provided by you after the selection of the student.
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 is scope rule of function in c?
What is the ANSI C Standard?
Can we use any name in place of argv and argc as command line arguments?
Is it fine to write void main () or main () in c?
Explain the advantages and disadvantages of macros.