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
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 |
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 |
What is sizeof int?
1. Write a program to reverse every second word in a given sentence.
Write a program to find the given number is odd or even without using any loops(if,for,do,while)
What are variables c?
Explain what is the difference between text files and binary files?
What is difference between structure and union?
if the total selling price of 15 items and the total profit earned on them is input through the keyboard, write a program to find the cost price of one of the item
What is a program flowchart and explain how does it help in writing a program?
How can I write a function analogous to scanf?
How do you declare a variable that will hold string values?
How can I remove the leading spaces from a string?
Average of a couple 10 years ago was 25. The average remains same after having a child and twins after 3 years. What is the present age of the first child