what is difference between array and structure?
Answer Posted / shiva
arry is derived data type,
structure is user defined data type
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What are integer variable, floating-point variable and character variable?
Can static variables be declared in a header file?
Explain what is the best way to comment out a section of code that contains comments?
Why doesnt this code work?
Difference between constant pointer and pointer to a constant.
What is string length in c?
What is string in c language?
write a program to copy the string using switch case?
Given only putchar (no sprintf, itoa, etc.) write a routine putlong that prints out an unsigned long in decimal. [ I gave the obvious solution of taking % 10 and / 10, which gives us the decimal value in reverse order. This requires an array since we need to print it out in the correct order. The interviewer wasn't too pleased and asked me to give a solution which didn't need the array ].
Differentiate between #include<...> and #include '...'
How can you be sure that a program follows the ANSI C standard?
What is the modulus operator?
What are multidimensional arrays?
Given two strings S1 and S2. Delete from S2 all those characters which occur in S1 also and finally create a clean S2 with the relevant characters deleted.
How can you find the day of the week given the date?