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
When can you use a pointer with a function?
In a switch statement, what will happen if a break statement is omitted?
What are local variables c?
What are runtime error?
string reverse using recursion
Are pointers really faster than arrays?
Write a client and server program in C language using UDP, where client program interact with the Server as given below: i) The client begins by sending a request to send a string of 8 characters or series of 7 numbers, the server sends back a characters or numbers as per the request of the client. ii) In case of series of 7 numbers: The client sends a multiplication of numbers, to the server. iii) In case of a string of 8 characters: The client sends a reverse order of string to the server.. iv) Server will send an acknowledgment to the client after receiving the correct answer
A global variable when referred to in another file is declared as this a) local variable b) external variable c) constant d) pointers
What is c definition?
What is c method?
Is stack a keyword in c?
What is the significance of c program algorithms?
What is f'n in math?
Write a C program to help a HiFi’s Restaurant automate its breakfast billing system. Your assignment should implement the following items: a. Show the customer the different breakfast items offered by the HiFi’s Restaurant. b. Allow the customer to select more than one item from the menu. c. Calculate and print the bill to the customer. d. Produce a report to present your complete program and show more sample output. Assume that the HiFi’s Restaurant offers the following breakfast menu: Plain Egg $2.50 Bacon and Egg $3.45 Muffin $2.20 French Toast $2.95 Fruit Basket $3.45 Cereal $0.70 Coffee $1.50 Tea $1.80
Can two or more operators such as and be combined in a single line of program code?