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 is the difference between null pointer and wild pointer?
All technical questions
Explain how can you tell whether a program was compiled using c versus c++?
What is the value of y in the following code? x=7;y=0; if(x=6) y=7; else y=1;
The performance of an operation in several steps with each step using the output of the preceding step a) recursion b) search c) call by value d) call by reference
how to find turn around time in operating system?
What is local and global variable in c?
post new interiew question and aptitude test papers
What is an array? What the different types of arrays in c?
Bit swapping
How do I determine whether a character is numeric, alphabetic, and so on?
What is call by value in c?