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


Please Help Members By Posting Answers For Below Questions

Can you tell me how to check whether a linked list is circular?

766


Explain the use of #pragma exit?

696


Write a program to check palindrome number in c programming?

596


Is there sort function in c?

574


List some applications of c programming language?

550






What is a floating point in c?

600


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); } }

1956


write a progrmm in c language take user interface generate table using for loop?

1574


Explain the Difference between the New and Malloc keyword.

686


What is the best style for code layout in c?

630


Can we compile a program without main() function?

630


i have a written test for microland please give me test pattern

2183


Can two or more operators such as and be combined in a single line of program code?

805


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.

2220


What is the argument of a function in c?

571