what is difference between array and structure?

Answer Posted / rajprasadmaity

collection is similar data type array
array always start from 0
array size fixed

Is This Answer Correct ?    123 Yes 36 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

1119


What is the correct code to have following output in c using nested for loop?

856


find the output? void r(int a[],int c, int n) { if(c>n) { a[c]=a[c]+c; r(a,++c,n); r(a,++c,n); } } int main() { int i,a[5]={0}; r(a,0,5); for(i=0;i<5;i++) printf("\n %d",a[i]); getch(); }

2086


Explain what is the difference between null and nul?

911


Is c a great language, or what?

869


Explain modulus operator. What are the restrictions of a modulus operator?

834


What is difference between union All statement and Union?

897


Write a program to check prime number in c programming?

832


Is a pointer a kind of array?

853


What are the advantages and disadvantages of pointers?

834


Explain how can I pad a string to a known length?

912


Do you have any idea how to compare array with pointer in c?

841


hi folks i m approching for h1 b interview on monday 8th of august at montreal and i m having little problem in my approval notice abt my bithdate my employer has made a mistake while applying it is 12th january and istead of that he had done 18 the of january do any body have any solution for that if yes how can i prove my visa officer abt my real birthdate it urgent please let me know guys thaks dipesh patel

1649


If a five digit number is input through the keyboard, write a program to print a new number by adding one to each of its digits.For example if the number that is input is 12391 then the output should be displayed as 23402

3597


What is storage class?

868