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
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); }
State two uses of pointers in C?
Write a program that accept anumber in words
Can you please explain the difference between strcpy() and memcpy() function?
Explain enumerated types in c language?
How can I do graphics in c?
Why calloc is better than malloc?
How do I use strcmp?
What is the size of a union variable?
Explain what math functions are available for integers? For floating point?
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...
What is the advantage of c?
How can I handle floating-point exceptions gracefully?
Why can’t constant values be used to define an array’s initial size?
List the difference between a "copy constructor" and a "assignment operator"?