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
Can you subtract pointers from each other? Why would you?
Is it cc or c in a letter?
What is the correct code to have following output in c using nested for loop?
What is a built-in function in C?
write a program to copy the string using switch case?
typedef enum { html, java, javascript, perl, cgi } lang;The above statement defines a : a) Union b) User defined type c) Enumerated variable d) none
What is cohesion and coupling in c?
GIVEN A FLOATING POINT NUMBER HOW IS IT ACTUALLY STORED IN MEMORY ? CAN ANYONE EXPLAIN?? THE 32 BIT REPRESENTATION OF A FLOATING POINT NUMBER ALLOTS: 1 BIT-SIGN 8 BITS-EXPONENT 23 BITS-MANTISSA
What is the difference between char array and char pointer?
An organised method of depicting the use of an area of computer memory used to signify the uses for different parts of the memory a) swap b) extended memory c) memory map d) all of the above
In c programming language, how many parameters can be passed to a function ?
c language interview questions & answer
What is the mean of function?
What are the difference between a free-standing and a hosted environment?
What is wrong with this initialization?