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 use of using linked list and array?
Write a program for the following series: 1*3*5-2*4*6+3*5*7-4*6*8+.................up to nterms
Find greatest number out of 10 number without using loop.
Explain bit masking in c?
What is define c?
the number 138 is called well ordered number because the three digits in the number (1,3,8) increase from left to right (1<3<8). the number 365 is not well ordered coz 6 is larger than 5. write a program that wull find and display all possible three digit well ordered numbers. sample: 123,124,125,126,127,128,129,134 ,135,136,137,138,139,145,146,147 148 149,156.......789
explain what is an endless loop?
Can you mix old-style and new-style function syntax?
What is the need of structure in c?
What is #pragma directive?how it is used in the program? what is its advantages and disadvantages?
What is the Purpose of 'extern' keyword in a function declaration?
can any one tel me wt is the question pattern for NIC exam