What's the best way to declare and define global variables?

Answer Posted / ajeet singh

through the "public" key world, we define the globle variable.

Is This Answer Correct ?    1 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

all c language question

1878


Describe explain how arrays can be passed to a user defined function

609


How can I get random integers in a certain range?

619


what are the advantages of a macro over a function?

650


Explain bitwise shift operators?

634






What are comments and how do you insert it in a C program?

748


p*=(++q)++*--p when p=q=1 while(q<=6)

1272


What does it mean when the linker says that _end is undefined?

638


Write a program to implement a round robin scheduler and calculate the average waiting time.Arrival time, burst time, time quantum, and no. of processes should be the inputs.

630


What is a const pointer?

640


how to make a scientific calculater ?

1570


List some basic data types in c?

563


When reallocating memory if any other pointers point into the same piece of memory do you have to readjust these other pointers or do they get readjusted automatically?

811


a direct address that identifies a location by means of its displacement from a base address or segment a) absolute address b) relative address c) relative mode d) absolute mode

663


What does main () mean in c?

619