Write a program to show the workingof auto variable.
Answers were Sorted based on User's Feedback
Answer / raj
#include<stdio.h>
main()
{
auto int n=0;
{
int n=1'
printf("%d",n);
}
}
| Is This Answer Correct ? | 10 Yes | 1 No |
Answer / shrikantauti
main()
{
auto int i,j;
printf("%d%d", i,j);
}
/*
output could look like:
1211 221
*/
| Is This Answer Correct ? | 6 Yes | 3 No |
What does the file stdio.h contain?
what is the hardware model of CFG( context free grammar)
Is it valid to address one element beyond the end of an array?
Write a program to find the smallest and largest element in a given array in c language
Which header file is essential for using strcmp function?
in which language c language is written?
Find string palindrome 10marks
5 Answers Honeywell, Infosys, Riktam, Roland,
What is the function of ceil(X) defined in math.h do? A)It returns the value rounded down to the next lower integer B)it returns the value rounded up to the next higher integer C)the Next Higher Value D)the next lower value
Why are all header files not declared in every c program?
How to removing white spces in c programming only bu using loops
Can we declare function inside main?
How can I sort a linked list?