what is the output of below pgm?
void main()
{
int i=0;
if(i)
printf("pass");
else
printf("fail");
}
Answer Posted / sweta
fail
| Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
What is static function in c?
how can i access hard disk address(physical address)? are we access hard disk by using far,near or huge pointer? if yes then please explain.....
What is bin sh c?
How do you convert a decimal number to its hexa-decimal equivalent.Give a C code to do the same
any "C" function by default returns an a) int value b) float value c) char value d) a & b
Why array is used in c?
find the output? void r(int a[],int c, int n) { if(c>n) { a[c]=a[c]+c; r(a,++c,n); r(a,++c,n); } } int main() { int i,a[5]={0}; r(a,0,5); for(i=0;i<5;i++) printf("\n %d",a[i]); getch(); }
What are the benefits of organizational structure?
What is the total generic pointer type?
Explain is it better to use a pointer to navigate an array of values, or is it better to use a subscripted array name?
What are register variables in c?
How does sizeof know array size?
Explain is it valid to address one element beyond the end of an array?
What does calloc stand for?
What is omp_num_threads?