what is difference between array and structure?

Answer Posted / reema

ARRAY:- An array can't have bit fields.

STRUCTURE:- Structure can contain bit fields.

Is This Answer Correct ?    82 Yes 22 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you print only part of a string?

616


What are the types of operators in c?

613


Why do we use static in c?

634


What is a stream water?

659


Can you please explain the difference between strcpy() and memcpy() function?

603






What is use of bit field?

774


Differentiate between a structure and a union.

768


Write a function stroverlap that takes (at least) two strings, and concatenates them, but does not duplicate any overlap. You only need to worry about overlaps between the end of the first string and the beginning of the second string. Examples: batman, manonthemoon = batmanonthemoon batmmamaman, mamamanonthemoon = batmmamamanonthemoon bat, man = batman batman, batman = batman batman, menonthemoon = batmanmenonthemoon

1740


What is a program?

667


What is the description for syntax errors?

616


What are high level languages like C and FORTRAN also known as?

687


What are disadvantages of C language.

650


#define MAX(x,y) (x) >(y)?(x):(y) main() { inti=10,j=5,k=0; k= MAX(i++,++j); printf("%d..%d..%d",i,j,k); }

784


How many data structures are there in c?

619


in programming languages a statement or part of a statement that specifies several different execution sequences a) constructs b) distructs c) executes d) none

605