what is difference b/w extern & volatile variable??

Answer Posted / deepa

extern is a keyword used to declare variables as global
varible.volatile variables are temporary variable

Is This Answer Correct ?    1 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the difference between a free-standing and a hosted environment?

745


Can the sizeof operator be used to tell the size of an array passed to a function?

621


What is the difference between typedef struct and struct?

602


How is pointer initialized in c?

587


What is the difference between exit() and _exit() function in c?

584






Differentiate fundamental data types and derived data types in C.

619


What is a macro in c preprocessor?

632


How pointers are declared?

564


a way in which a pointer stores the address of a pointer which stores the value of the target value a) reference b) allocation c) multiple indirection d) none

631


Compare interpreters and compilers.

640


What is mean by data types in c?

554


How can I make it pause before closing the program output window?

581


struct screen_pos{ int row, col } ;move_right(cursor)struct screen_pos *cursor;{ cursor.col++; } /* This statementhas a syntax error */What is the correct statement a) cursor.col = cursor.col + 1; b) col.cursor++; c) *cursor.col++; d) pointer

766


What is the time and space complexities of merge sort and when is it preferred over quick sort?

677


How do you write a program which produces its own source code as output?

608