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 |
main() { char ch='356'; Printf("%d",ch); } *OUTPUT*:- -18 *Why?*
What are the various types of control structures in programming?
Explain how can you check to see whether a symbol is defined?
What is 2c dna?
When should you use a type cast?
Is there a way to jump out of a function or functions?
Switch (i) i=1; case 1 i++; case 2 ++i; break; case 3 --i; Output of i after executing the program
Write a program in c using only loops to print * * * * * *******
What is the acronym for ansi?
logic for generating all the combinations of the any number of given letters. ex::::::::: if a,b,c,d are given the o/p should be abcd,dcba,dbac,bcad,................ 4*3*2*1 combinations............
What is the meaning of this decleration? unsigned char (*pArray[10][10]); please reply.
What does the characters “r” and “w” mean when writing programs that will make use of files?