Write a program to show the workingof auto variable.
Answer Posted / raj
#include<stdio.h>
main()
{
auto int n=0;
{
int n=1'
printf("%d",n);
}
}
| Is This Answer Correct ? | 10 Yes | 1 No |
Post New Answer View All Answers
What is else if ladder?
Can the sizeof operator be used to tell the size of an array passed to a function?
Explain can static variables be declared in a header file?
Is c is a high level language?
What is the use of extern in c?
console I/O functions means a) the I/O operations done on disk b) the I/O operations done in all parts c) the input given through keyboard is displayed VDU screen d) none of the above
What is the use of the function in c?
Why we write conio h in c?
Linked list is a Linear or non linear explain if linear how it working as a non linear data structures
What is restrict keyword in c?
What is a far pointer in c?
What is the use of bit field?
What do you mean by c what are the main characteristics of c language?
What is difference between arrays and pointers?
Which is better oop or procedural?