Answer Posted / namita
1-array is the collection of variables of same kind of data
types where as structure is a colection of variables of
different type os data types.
2-Array use index or subscript to access its members where
as structure uses "." operator.
| Is This Answer Correct ? | 4 Yes | 3 No |
Post New Answer View All Answers
Is null a keyword in c?
When I set a float variable to, say, 3.1, why is printf printing it as 3.0999999?
How can I change their mode to binary?
What is oops c?
difference between native and cross compilers
Explain about C function prototype?
Can a void pointer point to a function?
Do you know the use of 'auto' keyword?
If a variable is a pointer to a structure, then which operator is used to access data members of the structure through the pointer variable?
What is calloc in c?
Create a structure to specify data on students as given below: Roll number, Name, Department, Course, and Year of joining. Assume that there are not more than 450 students in the collage. (a) Write a function to print the names of all students who joined in the last 3 years. (b) Write a function to print the data of a student whose roll numbers are divisible by 4.
What are compound statements?
State the difference between x3 and x[3].
What is the difference between formatted&unformatted i/o functions?
Should I learn data structures in c or python?