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 |
from which concept of 'c', the static member function of 'c++' has came?
What is function pointer c?
What is the difference between functions getch() and getche()?
What do you mean by a sequential access file?
Which is the memory area not included in C program? give the reason
How reliable are floating-point comparisons?
Efficient data structure for store/search list of 1000 records a)array b)double linked list c)circular queue d)hash table
when i declare as: void main() { clrscr(); int a=10; printf("%d",a) } my problem that why generate a error in above programs. please tell me answer seriously .
What does struct node * mean?
Write the program for displaying the ten most frequent words in a file such that your program should be efficient in all complexity measures.
What is mean by data types in c?
What is an endless loop?