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

how to write a program which adds two numbers without using semicolon in c

2 Answers  


What is key word in c language?

4 Answers   ABC,


How to compare array with pointer in c?

0 Answers  


what is the difference between definition and declaration? give me some examples.

2 Answers   TCS,


write a program that finds the factorial of a number using recursion?

13 Answers   Infosys, TATA,






One of the Institutes contains 5 student groups. Every group contains 4 students. Institute wants to store student group’s details in array. Group should contain group member’s details (name and registration number and age), project name, and mark of the group.

0 Answers  


Is c dynamically typed?

0 Answers  


Can we add pointers together?

0 Answers  


where are auto variables stored? What are the characteristics of an auto variable?

0 Answers  


In which layer of the network datastructure format change is done

0 Answers   Honeywell,


Write a c program to build a heap method using Pointer to function and pointer to structure ?

0 Answers   Wipro,


what is constant pointer?

3 Answers  


Categories