Answer Posted / banavathvishnu
union
{
int a;
char ch;
float f;
}tt = {10};
main()
{
printf("%c",tt.ch);
}
In union it is enough to initialise one variable, same
value will reflect the value in remaning members also.
Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
How many header files are in c?
What is an auto keyword in c?
What is optimization in c?
What math functions are available for integers? For floating point?
What is the function of this pointer?
write a c program to do the following: a) To find the area of a triangle. b) To convert the temperature from Fahrenheit to Celsius. c) To convert the time in hours : minutes : seconds to seconds.
Why we not create function inside function.
What are the benefits of c language?
number of times a digit is present in a number
Hi how many types of software editions are there and their difference (like home editions, enterprise, standard etc) can u please help me
What is the significance of c program algorithms?
Explain the meaning of keyword 'extern' in a function declaration.
What is main return c?
What is the newline escape sequence?
I need a sort of an approximate strcmp routine?