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 |
how to implement stack operation using singly linked list
What is the output of following program ? int main() { int x = 5; printf("%d %d %d\n", x, x << 2, x >> 2); }
Is main a keyword in c?
What does main () mean in c?
Write a function that accepts a sentence as a parameter, and returns the same with each of its words reversed. The returned sentence should have 1 blank space between each pair of words. Demonstrate the usage of this function from a main program. Example: Parameter: “jack and jill went up a hill” Return Value: “kcaj dna llij tnew pu a llih”
There are 21 people in a room. They have to form groups of 3 people each. How many combinations are possible? Write a C program to print the same.
What is the value of y in the following code? x=7;y=0; if(x=6) y=7; else y=1;
what is the difference between #include<stdio.h> and #include"stdio.h" ?
What is an expression?
regarding pointers concept
main() { int i; for(i=0;i<5;i++) printf("%d",1l<<i); } why doesn't 'l' affect the code??????
What is the difference between char a[] = "string"; and char *p = "string"; ?
14 Answers Adobe, Honeywell, TCS,