Is it possible to have a function as a parameter in another function?
No Answer is Posted For this Question
Be the First to Post Answer
How can you determine the size of an allocated portion of memory?
write a program to search for an element in a given array. If the array was found then display its position otherwise display appropriate message in c language
What is the value of uninitialized variable in c?
/*what is the output for the code*/ void main() { int r; r=printf("naveen"); r=printf(); printf("%d",r); getch(); }
write a c programming using command line argument,demonstrate set operation(eg;union,intersection,difference) example output is c:>setop 12 34 45 1 union 34 42 66 c:>setop 12 34 1 42 66 c:>setop 12 34 diff 12 56 67 78 setop 12 34
Are the variables argc and argv are local to main?
ratio,age,persentage
Write a program to compare two strings without using the strcmp() function
42 Answers Accenture, Arba Minch University,
What is output of the following program ? main() { i = 1; printf("%d %d %d\n",i,i++,i++); }
Write a simple program to find the size of different basic data types 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]
Is calloc better than malloc?