Which of the following about automatic variables within a
function is correct ?
a.its type must be declared before using the variable
b.they are local
c.they are not initialised to zero
d.they are global.
Answers were Sorted based on User's Feedback
Answer / sivadatta kodali
answer is Both a And b because automatic variables is
nothing but a normalvariables their scope is with in the block
it must be declared before using the variable
| Is This Answer Correct ? | 6 Yes | 0 No |
Answer / uma
auto is a defult data type in c na???then have to declare??
but c answer is some what ok....but exactly i think b...
i go for b
| Is This Answer Correct ? | 4 Yes | 1 No |
How can you tell whether a program was compiled using c versus c++?
Write a program that takes a 5 digit number and calculates 2 power that number and prints it.
Which is an example of a structural homology?
What is s in c?
What are 3 types of structures?
2. What is the function of ceil(X) defined in math.h do? A)It returns the value rounded down to the next lower integer B)it returns the value rounded up to the next higher integer C)the Next Higher Value D)the next lower value
How do we make a global variable accessible across files? Explain the extern keyword?
What is array of structure in c?
What is the full form of getch?
Where local variables are stored in c?
What are the functions to open and close file in c language?
Which header file is essential for using strcmp function?