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


Please Help Members By Posting Answers For Below Questions

To print the pattern 1 2 3 4 5 10 17 18 19 6 15 24 25 20 7 14 23 22 21 8 13 12 11 10 9

2179


What does s c mean on snapchat?

579


‘SAVEPOINT’ and ‘ROLLBACK’ is used in oracle database to secure the data comment. Give suitable examples of each with sql command.

1872


What are bitwise shift operators in c programming?

637


What is structure in c definition?

564






count = 0; for (i = 1;i < = 10; i++);count = count + i; Value of count after execution of the above statements will be a) 0 b) 11 c) 55 d) array

671


What is indirection in c?

614


Which type of language is c?

640


explain what is fifo?

628


How can I read in an object file and jump to locations in it?

567


Explain data types & how many data types supported by c?

575


What does sizeof function do?

606


What is a built-in function in C?

782


How to set file pointer to beginning c?

658


Explain how does free() know explain how much memory to release?

567