main()
{
int x=20,y=35;
x = y++ + x++;
y = ++y + ++x;
printf("%d %d\n",x,y);
}
Answer Posted / vijay
56
93
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is structure padding in c?
What are the primitive data types in c?
Why is c not oop?
An expression to whose value an operater is applied a) operand b) variable c) constant d) all of the above
When should I declare a function?
What are the two forms of #include directive?
What is break statement?
What is identifiers in c with examples?
What is a nested loop?
What is data type long in c?
What is the behavioral difference when include header file in double quotes (“”) and angular braces (<>)?
What the advantages of using Unions?
What is typedef struct in c?
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); }
How do you list files in a directory?