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



Which of the following about automatic variables within a function is correct ? a.its type must ..

Answer / sundeep

They are local.

Is This Answer Correct ?    28 Yes 5 No

Which of the following about automatic variables within a function is correct ? a.its type must ..

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

Which of the following about automatic variables within a function is correct ? a.its type must ..

Answer / rajan singh

b. is right answer

Is This Answer Correct ?    5 Yes 2 No

Which of the following about automatic variables within a function is correct ? a.its type must ..

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

Which of the following about automatic variables within a function is correct ? a.its type must ..

Answer / subbu

options a,b,c are correct

Is This Answer Correct ?    5 Yes 9 No

Which of the following about automatic variables within a function is correct ? a.its type must ..

Answer / shruti

yup options a , b , c are correct..

Is This Answer Correct ?    1 Yes 5 No

Post New Answer

More C Interview Questions

Write a program of prime number using recursion.

0 Answers   Aspiring Minds,


When should you not use a type cast?

0 Answers  


swapping of two numbers without using third variable using AND and OR operators

2 Answers  


difference between Low, Middle, High Level languages in c ?

0 Answers   Bosch, Infosys,


What would the following code segment printint k = 8;docout << "k = " << k << " ";while k++ < 5; a) 13 b) 5 c) 8 d) pointers

0 Answers  






What is c mainly used for?

0 Answers  


Where does the name "C" come from, anyway?

0 Answers   Celstream,


what is the role you expect in software industry?

0 Answers   HCL,


if the address of a[1,1] and a[2,1] are 1000 and 1010 respectively and each occupies 2 bytes then the array has been stored in what order?

4 Answers   Amazon, Apple, Bata, Google, NASA,


Write a c program to enter a string of paragraph and replacing a particular word which is repeated in the paragraph by another word?

2 Answers   ME, Synfusion, Wipro,


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.

6 Answers   FCI, TCS,


What are the standard predefined macros?

0 Answers  


Categories