what is difference between array and structure?

Answer Posted / rajesh

array -same data type
structure -diff datatype

Is This Answer Correct ?    630 Yes 51 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

write a c program to do the following: a) To find the area of a triangle. b) To convert the temperature from Fahrenheit to Celsius. c) To convert the time in hours : minutes : seconds to seconds.

1767


What is a structure in c language. how to initialise a structure in c?

851


How can you tell whether a program was compiled using c versus c++?

857


What is a far pointer in c?

799


What is selection sort in c?

821


What is the difference between far and near in c?

818


what is the c source code for the below output? 5555555555 4444 4444 333 333 22 22 1 1 22 22 333 333 4444 4444 5555555555

2810


How do you do dynamic memory allocation in C applications?

855


Where static variables are stored in c?

806


Does c have enums?

798


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.

2494


Does c have function or method?

808


What is use of null pointer in c?

760


Can you please explain the difference between syntax vs logical error?

951


Can math operations be performed on a void pointer?

772