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

what is the diference between pointer to the function and function to the pointer?

2 Answers   Infosys,


Write a program to show the workingof auto variable.

2 Answers   Infotech,


Why should I prototype a function?

0 Answers  


How can draw a box in cprogram without using graphics.h header file & using only one printf(); ?

4 Answers   NIIT,


What is structure padding in c?

0 Answers  






Badboy is defined who has ALL the following properties: Does not have a girlfriend and is not married. He is not more than 23 years old. The middle name should be "Singh" The last name should have more than 4 characters. The character 'a' should appear in the last name at least two times. The name of one of his brothers should be "Ram" Write a method: boolean isBadBoy(boolean hasGirlFriend , boolean isMarried, int age , String middleName , String lastName , String[] brotherName); isHaveGirlFriend is true if the person has a girlfriend isMarried is true if the person is married age is the age of the person middleName is the middle name of the person lastName is the last name of the person brotherName is the array of the names of his brothers

0 Answers  


what is ram?

3 Answers   TCS,


Can a function argument have default value?

0 Answers   Genpact,


Using functions, write a program that multiplies two arrays. Use the following functions: - Function ReadArray - Function MultiplyArrays - Function DisplayArrays

0 Answers  


How can I check whether a file exists? I want to warn the user if a requested input file is missing.

0 Answers  


Lists the benefits of c programming language?

0 Answers  


What is the use of parallelize in spark?

0 Answers  


Categories