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 tell me how to check whether a linked list is circular?
Explain the use of #pragma exit?
Write a program to check palindrome number in c programming?
Is there sort function in c?
List some applications of c programming language?
What is a floating point in c?
What is the purpose of the following code? Is there any problem with the code? void send(int count, short *to, short *from) { /* count > 0 assumed */ register n = (count + 7) / 8; switch (count % 8) { case 0: do { *to = *from++; case 7: *to = *from++; case 6: *to = *from++; case 5: *to = *from++; case 4: *to = *from++; case 3: *to = *from++; case 2: *to = *from++; case 1: *to = *from++; } while (--n > 0); } }
write a progrmm in c language take user interface generate table using for loop?
Explain the Difference between the New and Malloc keyword.
What is the best style for code layout in c?
Can we compile a program without main() function?
i have a written test for microland please give me test pattern
Can two or more operators such as and be combined in a single line of program code?
7-Given an index k, return the kth row of the Pascal's triangle. For example, when k = 3, the row is [1,3,3,1]. For reference look at the following standard pascal’s triangle.
What is the argument of a function in c?