what will be the output off the following program?
#include<stdio.h>
int main()
{
int a;
a=015+0*71+5;
printf("%d,a");
return0;
}

Answer Posted / yateesh kumar

Garbage value,a

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

main() { struct s1 { char *str; struct s1 *ptr; }; static struct s1 arr[] = { {"Hyderabad",arr+1}, {"Bangalore",arr+2}, {"Delhi",arr} }; struct s1 *p[3]; int i; < BR> for(i=0;i<=2;i++) p[i] = arr[i].ptr; printf("%s ",(*p)->str); printf("%s ",(++*p)->str); printf("%s ",((*p)++)->str); }

929


State two uses of pointers in C?

646


Write a program that accept anumber in words

1263


Can you please explain the difference between strcpy() and memcpy() function?

614


Explain enumerated types in c language?

613






How can I do graphics in c?

603


Why calloc is better than malloc?

582


How do I use strcmp?

651


What is the size of a union variable?

608


Explain what math functions are available for integers? For floating point?

622


I have written a pro*C program to fetch data from the cursor. where in i have used the concept of BULK FETCH.... each FETCH statement is taking lots of time to fetch specified number of rows at...

9665


What is the advantage of c?

617


How can I handle floating-point exceptions gracefully?

643


Why can’t constant values be used to define an array’s initial size?

846


List the difference between a "copy constructor" and a "assignment operator"?

593