what is difference between array and structure?

Answer Posted / preet batth

array
1.there is no keyword
2.it has decleration only
structure
1.the keywod struct is used
2.it as decelration and definition

Is This Answer Correct ?    12 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Give a one-line C expression to test whether a number is a power of 2. [No loops allowed - it's a simple test.]

617


In c programming typeing to occupy the variables in memory space. if not useing the variable the memory space is wasted.ok, how to avoid the situation..? (the variable is used & notused)

1620


How can I write a function that takes a format string and a variable number of arguments?

594


Write a program to print all permutations of a given string.

631


7-Given an index k, return the kth row of the Pascal's triangle. For example, when k = 3, the row is [1,3,3,1]. For reference look at the following standard pascal’s triangle.

2207






How to draw the flowchart for structure programs?

8750


Difference between MAC vs. IP Addressing

629


Explain what is the stack?

624


how can i write a program that prints out a box such that whenever i press any key8(coordinate number) on the keyboard, the box moves.

1202


what is use of malloc and calloc?

1370


What is cohesion in c?

532


What is the significance of scope resolution operator?

845


Can you write the function prototype, definition and mention the other requirements.

647


What is malloc and calloc?

558


Why can’t constant values be used to define an array’s initial size?

822