IS STRUCTURES CAN BE USED WITHIN AN ARRAY?
Answers were Sorted based on User's Feedback
Answer / venugopal
YES ,THEY CAN BE,BECAUSE ARRAY CAN HOLD SIMILAR DATA
TYPED ONES,WE ARE USING ONLY STRUCTURE VARIABLES
THEMSELVES.IT WILL BE POSSIBLE.
| Is This Answer Correct ? | 5 Yes | 0 No |
Answer / e-mail
yes. structures can be used within an array. variables are
declared in an arrays in structures.
| Is This Answer Correct ? | 2 Yes | 1 No |
Answer / biranchi parida
generally in turbo c++ 3.0 to above version it can't
possible but possible if we declared float linking point
declaration
in such way globally after header file
float a,*b;
b=&a;
after this declaration structure can take array
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / swamy s t
No. Because arrays are homogeneous datatype and
structures are heterogeneous datatype. So we cann't
| Is This Answer Correct ? | 0 Yes | 1 No |
no consistent academics. how to answer the question
What is array of structure in c programming?
WHAT IS MAXIMUM SIZE OF AN ARRAY IN C LANGUAGE?
8 Answers Carphone Warehouse, IBM, SAS,
Why do we use null pointer?
How can you restore a redirected standard stream?
Q.1 write a program to create binary tree 1 to 16 numbers? Q.2 write a program to creat a binary search tree for the member that is given by user?
Is it possible to pass an entire structure to functions?
What is the difference between union and anonymous union?
Difference between fopen() and open()?
What is the output from this program? #include <stdio.h> void do_something(int *thisp, int that) { int the_other; the_other = 5; that = 2 + the_other; *thisp = the_other * that; } int main(void) { int first, second; first = 1; second = 2; do_something(&second, first); printf("%4d%4d\n", first, second); return 0; }
Define macros.
Explain the advantages and disadvantages of macros.