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);
}

Answers were Sorted based on User's Feedback



Give the output for the following program. #define STYLE1 char main() { type..

Answer / syamkumarm

-1 -1

Is This Answer Correct ?    4 Yes 1 No

Give the output for the following program. #define STYLE1 char main() { type..

Answer / rh

Please explain how ?

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Interview Questions

Want to know how to write a C program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the total number of disk writes by MySQL.

0 Answers  


what are bps & baud rates? differentiate these two?

2 Answers   TCS,


Explain what is wrong with this program statement?

0 Answers  


can we define a function in structure?

2 Answers  


swap two integer variables without using a third temporary variable?

6 Answers   Persistent,






6)swap(int x,y) { int temp; temp=x; x=y; y=temp; } main() { int x=2;y=3; swap(x,y); } after calling swap ,what are yhe values x&y?

3 Answers  


How pointer is benefit for design a data structure algorithm?

2 Answers  


Explain what will the preprocessor do for a program?

0 Answers  


how to calculate the time complexity of a given algorithm? pls give exaples..mainly for the coplexities such as O(log n),O(n log n)...

1 Answers   Infosys,


what is the code to display color fonts in the output?

1 Answers  


all c language question

0 Answers   Wipro,


Write a program using bitwise operators to invert even bits of a given number.

2 Answers  


Categories