what is the difference between normal variables and pointer
variables..............
Answer Posted / mani
Normal variable:memory size of variables depends upon respective datatype; if int it'll take 2byte , char will take 1 byte.
Pointer variable:memory size of pointer variable is constant that is 4byte in gcc compiler irrespective of any datatype.
| Is This Answer Correct ? | 7 Yes | 1 No |
Post New Answer View All Answers
What is const keyword in c?
How do you override a defined macro?
Explain what is #line used for?
What is || operator and how does it function in a program?
Write a program to display all the prime nos from 1 to 1000000, your code should not take time more than a minute to display all the nos.
Why isnt any of this standardized in c?
What are the usage of pointer in c?
What is preprocessor with example?
Can a pointer be null?
What are the properties of union in c?
Explain how can I open a file so that other programs can update it at the same time?
What is the difference between array_name and &array_name?
What are the header files used in c language?
Explain indirection?
What is storage class?