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
any limit on the number of functions that might be present in a C program a) max 35 functions b) max 50 functions c) no limit d) none of the above
What does the characters “r” and “w” mean when writing programs that will make use of files?
main use of recursive function a) processing speed high b) reduce program length/reduce repeated statements c) if you do not, use iterative methods like, for, while or do-while d) all the above
How can you find the day of the week given the date?
which of the following shows the correct hierarchy of arithmetic operations in C a) (), **, * or/,+ or - b) (),**,*,/,+,- c) (),**,/,*,+,- d) (),/ or *,- or +
What is meant by initialization and how we initialize a variable?
Explain the use of fflush() function?
What is static memory allocation?
What are loops in c?
What are types of functions?
Tell us bitwise shift operators?
please send me the code for multiplying sparse matrix using c
what is use of malloc and calloc?
Explain union. What are its advantages?
How does pointer work in c?