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 |
Why should I prototype a function?
What is c value paradox explain?
which is an algorithm for sorting in a growing Lexicographic order
What are the features of c language?
simple program of graphics and thier outpu display with a want what is out put of graohics in c language
How can I make sure that my program is the only one accessing a file?
What is sparse file?
What are multidimensional arrays?
what is the c source code for the below output? 10 10 10 10 10 10 10 10 10 10 9 9 7 6 6 6 6 6 6 9 7 5 9 7 3 2 2 5 9 7 3 1 5 9 7 3 5 9 7 4 4 4 4 5 9 7 8 8 8 8 8 8 8 8 9
What does a pointer variable always consist of?
a linear linked list such that the link field of its last node points to the first node instead of containing NULL a) linked list b) circular linked list c) sequential linked list d) none
Write the following function in C. stripos — Find position of first occurrence of a case- insensitive string int stripos ( char* haystack, char* needle, int offset ) Returns the numeric position of the first occurrence of needle in the haystack string. Note that the needle may be a string of one or more characters. If needle is not found, stripos() will return - 1. The function should not make use of any C library function calls.
3 Answers Google, Infosys, JTL, OpenFeel,