what is difference between array and structure?

Answer Posted / priya

Array is used to store large set of data with same data
type.But structure allows you to wrap one or more variables
with different data type.

Is This Answer Correct ?    11 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

#define PRINT(int) printf("int = %d ",int) main() {< BR> intx,y,z; x=03;y=02;z=01; PRINT(x^x); z<<=3;PRINT(x); y>>=3;PRINT(y); }

716


Is printf a keyword?

755


Is there any demerits of using pointer?

627


What are the 32 keywords in c?

632


What is c token?

607






1.int a=10; 2.int b=20; 3. //write here 4.b=30; Write code at line 3 so that when the value of b is changed variable a should automatically change with same value as b. 5.

1659


Explain what is wrong with this program statement?

621


I have a varargs function which accepts a float parameter?

579


Why is c called c?

622


What is #ifdef ? What is its application?

644


#include show(int t,va_list ptr1) { int a,x,i; a=va_arg(ptr1,int) printf(" %d",a) } display(char) { int x; listptr; va_star(otr,s); n=va_arg(ptr,int); show(x,ptr); } main() { display("hello",4,12,13,14,44); }

768


What are the benefits of c language?

643


Write a code to generate divisors of an integer?

638


Does c have function or method?

587


What are the different types of objects used in c?

571