what is difference between array and structure?
Answer Posted / kirankumar
Array takes data types of same kind where as structure takes
any kind.
Ex:int n[5];/* one d array
int n[10][10];/* two d array
int n[10][10][10];/* multi d array or jagged array
Structure takes following form:
struct class
{
cahr name;
int marks;
float sbuject[3];
}stuent[100];
Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
When I tried to go into a security sites I am denied access and a message appeared saying 'applet not initialize'. How can I rectify this problem.
Explain what is the use of a semicolon (;) at the end of every program statement?
What is clrscr ()?
How is actual parameter different from the formal parameter?
In a switch statement, what will happen if a break statement is omitted?
What would happen to X in this expression: X += 15; (assuming the value of X is 5)
Why ca not I do something like this?
What is calloc in c?
how to make a scientific calculater ?
Is array a primitive data type in c?
Write a program to print ASCII code for a given digit.
What is openmp in c?
Where does the name "C" come from, anyway?
How can variables be characterized?
#include