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
Write a program to enter the name and age. If age>28 then find salary categories. if age<28 then find that you are gaduate or not.
What is #define used for in c?
What is the purpose of the code, and is there any problem with it? unsigned int f( unsigned n ) { return –n & 7; }
What is the best way to comment out a section of code that contains comments?
write a program to remove duplicate from an ordered char array? in c
fun(int x) { if(x > 0) fun(x/2); printf("%d", x); } above function is called as: fun(10); what will it print? }
Explain argument and its types.
What is the difference between scanf and fscanf?
how to capitalise first letter of each word in a given string?
What standard functions are available to manipulate strings?
mplementation of stack using any programing language
What are the advantages of the functions?