enum day = { jan = 1 ,feb=4, april, may}
what is the value of may?
a)4 b)5 c)6 d)11
e)none of the above
Answer Posted / vijoeyz
enum day = { jan = 1 ,feb=4, april, may}
- should have been -
enum day { jan = 1 ,feb=4, april, may};
However, the answer is 6, i.e., the option C.
Best,
Vijay Zanvar,
Home Page - http://geocities.com/vijoeyz/
| Is This Answer Correct ? | 74 Yes | 15 No |
Post New Answer View All Answers
How can I check whether a file exists? I want to warn the user if a requested input file is missing.
State two uses of pointers in C?
What is difference between main and void main?
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 the difference between a string copy (strcpy) and a memory copy (memcpy)? When should each be used?
Is it cc or c in a letter?
What is the use of header?
Differentiate Source Codes from Object Codes
What are the disadvantages of c language?
What does c mean before a date?
What is extern storage class in c?
Write a program of prime number using recursion.
What is string function in c?
Describe the difference between = and == symbols in c programming?
write a program to generate address labels using structures?