what is available in C language but not in C++?
Answer Posted / hussain reddy
malloc calloc realloc and free in c but not in c++
Is This Answer Correct ? | 7 Yes | 4 No |
Post New Answer View All Answers
Explain how do you determine whether to use a stream function or a low-level function?
Who invented b language?
Describe dynamic data structure in c programming language?
If fflush wont work, what can I use to flush input?
If the size of int data type is two bytes, what is the range of signed int data type?
What are valid operations on pointers?
Explain the difference between #include "..." And #include <...> In c?
What are void pointers in c?
Can you write the function prototype, definition and mention the other requirements.
Is null a keyword in c?
You are to write your own versions of strcpy() and strlen (). Call them mystrcpy() and mystrlen(). Write them first as code within main(), not as functions, then, convert them to functions. You will pass two arrays to the function in the case of mystrcpy(), the source and target array.
What does a pointer variable always consist of?
What is a good way to implement complex numbers in c?
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 is a null pointer different from a dangling pointer?