what is the difference between static variable and register
variable?

Answer Posted / amit

static variable stored in RAM where as register variable
stored in CPU's register ,
we can find address of static variable which is not
possible in case of register variable

Is This Answer Correct ?    10 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a function in c?

676


given post order,in order construct the corresponding binary tree

2413


What is pass by reference in functions?

429


A collection of functions,calls,subroutines or other data a) library b) header files c) set of files d) textfiles

752


What does & mean in scanf?

706






What is character constants?

795


Write a programme using structure that create a record of students. The user allow to add a record and delete a record and also show the records in ascending order.

1711


How many levels of pointers have?

701


Place the #include statement must be written in the program?

656


What is || operator and how does it function in a program?

723


Explain which of the following operators is incorrect and why? ( >=, <=, <>, ==)

700


What is queue in c?

662


What is difference between structure and union?

706


which is an algorithm for sorting in a growing Lexicographic order

1476


What is equivalent to ++i+++j?

733