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
Is printf a keyword?
What is meant by preprocessor in c?
What is I ++ in c programming?
Why string is used in c?
Apart from dennis ritchie who the other person who contributed in design of c language.
Can we use any name in place of argv and argc as command line arguments?
Explain how can I write functions that take a variable number of arguments?
What is the mean of function?
What is the difference between text and binary i/o?
What is the modulus operator?
What is the difference between struct and union in C?
What does the format %10.2 mean when included in a printf statement?
Why is it that not all header files are declared in every C program?
What is merge sort in c?
Is it valid to address one element beyond the end of an array?