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

What is output redirection?

882


What is external variable in c?

795


void main(){ int a; a=1; while(a-->=1) while(a-->=0); printf("%d",a); }

1467


Why clrscr is used after variable declaration?

1306


Create a structure to specify data on students as given below: Roll number, Name, Department, Course, and Year of joining. Assume that there are not more than 450 students in the collage. (a) Write a function to print the names of all students who joined in the last 3 years. (b) Write a function to print the data of a student whose roll numbers are divisible by 4.

862


Explain do array subscripts always start with zero?

935


What is "Hungarian Notation"?

833


Write a C Program That Will Count The Number Of Even And Odd Integers In A Set using while loop

1906


What is time complexity c?

738


What does typedef struct mean?

841


What is a buffer in c?

750


What is dynamic variable in c?

776


What is character constants?

888


What is struct node in c?

797


Can you write the algorithm for Queue?

1739