what is the value of 'i'?
i=strlen("Blue")+strlen("People")/strlen("Red")-strlen("green")
Answer Posted / aditya
i=strlen("Blue")+strlen("People")/strlen("Red")-strlen
("green")
it is evaluated as
strlen("People")/strlen("Red")
6-4 as 2 then
strlen("Blue")+2
4+2 as 6 then
6-strlen("green")
6-5 as 1
Is This Answer Correct ? | 11 Yes | 1 No |
Post New Answer View All Answers
What is a far pointer in c?
praagnovation
What is the difference between char array and char pointer?
What is indirection? How many levels of pointers can you have?
What are header files in c?
explain what are actual arguments?
How can I do serial ("comm") port I/O?
Write a program to produce the following output: 1 2 3 4 5 6 7 8 9 10
What do mean by network ?
What is the purpose of void pointer?
What is file in c language?
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]
Does c have circular shift operators?
In C language what is a 'dangling pointer'?
What are # preprocessor operator in c?