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
Can a pointer be static?
What is the most efficient way to count the number of bits which are set in an integer?
Write a program to implement queue.
a parameter passed between a calling program and a called program a) variable b) constant c) argument d) all of the above
How do you list a file’s date and time?
What is the difference between ‘g’ and “g” in C?
What does %p mean c?
What is variable declaration and definition in c?
What is indirection in c?
Why malloc is faster than calloc?
What are pointers? What are stacks and queues?
What is variable and explain rules to declare variable in c?
struct screen_pos{ int row, col } ;move_right(cursor)struct screen_pos *cursor;{ cursor.col++; } /* This statementhas a syntax error */What is the correct statement a) cursor.col = cursor.col + 1; b) col.cursor++; c) *cursor.col++; d) pointer
Can a pointer point to null?
Describe how arrays can be passed to a user defined function