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.
Answer Posted / 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 |
Post New Answer View All Answers
Can a variable be both const and volatile?
What are the types of variables in c?
Why is c not oop?
Why enum is used in c?
What is a structure in c language. how to initialise a structure in c?
Differentiate abs() function from fabs() function.
Describe newline escape sequence with a sample program?
how can use subset in c program and give more example
What is meant by type specifiers?
An expression to whose value an operater is applied a) operand b) variable c) constant d) all of the above
How does pointer work in c?
How do you declare a variable that will hold string values?
What are the data types present in c?
what is ur strangth & weekness
to print the salary of an employee according to follwing calculation: Allowances:HRA-20% of BASIC,DA-45% of BASIC,TA-10%. Deductions:EPF-8% of BASIC,LIC-Rs.200/-Prof.Tax:Rs.200/- create c language program?