what is difference between array and structure?

Answer Posted / tsering dolma

array is collection of same data.
structure is collection of hetogenous data

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a program to replace n bits from the position p of the bit representation of an inputted character x with the one's complement. Method invertBit takes 3 parameters x as input character, p as position and n as the number of positions from p. Replace n bits from pth position in 8 bit character x. Then return the characters by inverting the bits.

3687


Difference between strcpy() and memcpy() function?

671


Synonymous with pointer array a) character array b) ragged array c) multiple array d) none

612


Explain what is the difference between null and nul?

646


How can a number be converted to a string?

593






Is void a keyword in c?

570


Explain how do you use a pointer to a function?

636


Write a C/C++ program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the maximum number of concurrent threads that the InnoDB plug-in can create.

1475


What is the auto keyword good for?

616


What is the translation phases used in c language?

625


What is declaration and definition in c?

521


What is const volatile variable in c?

572


How many levels deep can include files be nested?

644


What do you mean by c?

580


What is spaghetti programming?

664