Give the output for the following program.
#define STYLE1 char
main()
{
typedef char STYLE2;
STYLE1 x;
STYLE2 y;
clrscr();
x=255;
y=255;
printf("%d %d\n",x,y);
}
Answer Posted / rh
Please explain how ?
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What are the functions to open and close the file in c language?
Explain what are multidimensional arrays?
What are variables and it what way is it different from constants?
What are formal parameters?
4-Take two sets of 5 numbers from user in two arrays. Sort array 1 in ascending and array 2 in descending order. Perform sorting by passing array to a function mySort(array, sortingOrder). Then multiply both the arrays returned from function, using metric multiplication technique in main. Print result in metric format.
A global variable when referred to in another file is declared as this a) local variable b) external variable c) constant d) pointers
When should the const modifier be used?
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 reason of your company position's in india no. 1.
Who invented b language?
What are the advantages of using new operator as compared to the function malloc ()?
What should malloc(0) do? Return a null pointer or a pointer to 0 bytes?
Is there any algorithm to search a string in link list in the minimum time?(please do not suggest the usual method of traversing the link list)
hi, which software companys will take,if d candidate's % is jst 55%?
Write a program to swap two numbers without using the third variable?