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
What is output redirection?
What is external variable in c?
void main(){ int a; a=1; while(a-->=1) while(a-->=0); printf("%d",a); }
Why clrscr is used after variable declaration?
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.
Explain do array subscripts always start with zero?
What is "Hungarian Notation"?
Write a C Program That Will Count The Number Of Even And Odd Integers In A Set using while loop
What is time complexity c?
What does typedef struct mean?
What is a buffer in c?
What is dynamic variable in c?
What is character constants?
What is struct node in c?
Can you write the algorithm for Queue?