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


Please Help Members By Posting Answers For Below Questions

Explain the use of bit fieild.

715


Calculate 1*2*3*____*n using recursive function??

1519


In C, What is the #line used for?

1062


How can I do peek and poke in c?

621


application areas a 'c' a) operating system b) graphics, interpreter, assembler c) program evalution, communication softwares d) all the above

608






What is typedef struct in c?

584


What is optimization in c?

568


Write a code to generate divisors of an integer?

642


What is hashing in c language?

615


Why do we use pointer to pointer in c?

600


What is #pragma statements?

591


What are the different types of pointers used in c language?

612


Is there a way to compare two structure variables?

617


What is the use of printf() and scanf() functions?

636


What are disadvantages of C language.

649