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 are the files which are automatically opened when a c file is executed?
what is the role you expect in software industry?
Is both getch() and getchar() functions are similar? if it is similar means why these two functions are used for same usage? if it is not similar means what is the difference?
which of the following shows the correct hierarchy of arithmetic operations in C a) (), **, * or/,+ or - b) (),**,*,/,+,- c) (),**,/,*,+,- d) (),/ or *,- or +
Why can’t constant values be used to define an array’s initial size?
What do you mean by invalid pointer arithmetic?
Name the language in which the compiler of "c" in written?
Differentiate between null and void pointers.
How can I change their mode to binary?
main() { printf("hello%d",print("QUARK test?")); }
Can true be a variable name in c?
Is main is user defined function?