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 the size of structure in c?
a=10;b= 5;c=3;d=3; if(a printf(%d %d %d %d a,b,c,d) else printf("%d %d %d %d a,b,c,d);
Write a program to check palindrome number in c programming?
What is a shell structure examples?
Should a function contain a return statement if it does not return a value?
Explain how can I open a file so that other programs can update it at the same time?
Can we access array using pointer in c language?
What are the types of functions in c?
Why c is faster than c++?
What is a static function in c?
What is a string?
Explain the difference between malloc() and calloc() in c?
can any one please explain, how can i access hard disk(physical address)? it is possible by the use of far,near or huge pointer? if yes then please explain......
regarding pointers concept
What are the back slash character constants or escape sequence charactersavailable in c?