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


Please Help Members By Posting Answers For Below Questions

Can a variable be both const and volatile?

678


What are the types of variables in c?

585


Why is c not oop?

541


Why enum is used in c?

531


What is a structure in c language. how to initialise a structure in c?

613






Differentiate abs() function from fabs() function.

606


Describe newline escape sequence with a sample program?

662


how can use subset in c program and give more example

1507


What is meant by type specifiers?

664


An expression to whose value an operater is applied a) operand b) variable c) constant d) all of the above

664


How does pointer work in c?

627


How do you declare a variable that will hold string values?

675


What are the data types present in c?

633


what is ur strangth & weekness

1827


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?

1577