diff .between strcture and union
Answers were Sorted based on User's Feedback
Answer / sruthy
union allocates the memory equal to the maximum memory
required by the member of the union but structure allocates
the memory equal to the total memory required by the members
| Is This Answer Correct ? | 8 Yes | 0 No |
Answer / revathi pawar
structure is the set of different datatype whereas the
struct is the keyword
union is the one where will not print or give correct ouptut
whereas it will give the address of tat particular string or
no given
union s the keyword
| Is This Answer Correct ? | 1 Yes | 7 No |
write a c program to find the square of a 5 digit number and print the result.
5 Answers Accenture, Sasken, Vimukti Technologies,
What is function prototype?
what is the purpose of the code, and is there any problem with the code? int f( int n, int l, int r ) { return (n << l) >> r; }
How does struct work in c?
A program is required to print your biographic information including: Names, gender, student Number, Cell Number, line of study and your residential address.
In the DOS enveronment, normal RAM that resides beyond the 1mb mark. a) expanded memory b) swapped memory c) Extended memory d) none
Explain following declaration int *P(void); and int (*p)(char *a);
when i declare as: void main() { clrscr(); int a=10; printf("%d",a) } my problem that why generate a error in above programs. please tell me answer seriously .
Program will then find the largest of three numbers using nested if-else statements. User is prompted to enter three numbers. Program will find the largest number and display it on the screen. All three numbers entered by the user are also displayed. If user enters 21, 33, and 5, the output should be as follows: You entered: 21, 33 and 5. The largest number is 33.
how c source file in converted to exe file
what are the different storage classes in c?
C program execution always begins with a) #include b) comment (/*-------*/) c) main() d) declaration instructions