what is difference between array and structure?

Answer Posted / shruti

Array is a base pointer..
** it points to a particular memory location..

Structure is not a pointer..

Is This Answer Correct ?    209 Yes 50 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many levels of indirection in pointers can you have in a single declaration?

585


Explain low-order bytes.

615


How can I recover the file name given an open stream?

544


What is the size of empty structure in c?

579


Explain what is the most efficient way to store flag values?

688






using only #include and #include Write a program in C that will read an input from the user and print it back to the user if it is a palindrome. The string ends when it encounters a whitespace. The input string is at most 30 characters. Assume the string has no spaces and distinguish between and lowercase. So madam is a palindrome, but MadAm is not a palindrome. Use scanf and %s to read the string. Sample Test: Enter a string: madam madam is a palindrome. Enter a string: 09023 09023 is not a palindrome.

1302


Device an algorithm for weiler-atherton polygon clipping, where the clipping window can be any specified polygon

5453


Is stack a keyword in c?

626


Define recursion in c.

690


the 'sizeof' operator reported a larger size than the calculated size for a structure type. What could be the reason?

554


What is a char c?

581


Explain about the functions strcat() and strcmp()?

591


When should volatile modifier be used?

539


What are logical errors and how does it differ from syntax errors?

641


Is that possible to store 32768 in an int data type variable?

683