What will be the output of following program
#include
main()
{
int x,y = 10;
x = y * NULL;
printf("%d",x);
}
Can we write a program without main() function?
The % symbol has a special use in a printf statement. How would you place this character as part of the output on the screen?
what is the value of b if a=5; b=++a + ++a
31 Answers Infosys, TCS, Tech Mahindra,
What is a void pointer? When is a void pointer used?
Write a program to compare two strings without using the strcmp() function
42 Answers Accenture, Arba Minch University,
how can f be used for both float and double arguments in printf? Are not they different types?
how do you write a function that takes a variable number of arguments? What is the prototype of printf () function?
What does s c mean on snapchat?
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]
Explain what is page thrashing?
What are bit fields? What is their use?
What does c value mean?