#include<stdio.h>
int main()
{
int i=2;
int j=++i + ++i + i++;
printf("%d\n",i);
printf("%d\n",j);
}
Answer Posted / manjunath.b.a
i=5
j=12
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
What are shell structures used for?
Write a function that will take in a phone number and output all possible alphabetical combinations
What are the output(s) for the following ? #include char *f() {char *s=malloc(8); strcpy(s,"goodbye")} main() { char *f(); printf("%c",*f()='A'); }
C program to find all possible outcomes of a dice?
What is #line used for?
What does c mean in standard form?
the number of measuring units from a arbitrary starting point in a record area or control block to some other point a) branching b) recording pointer c) none d) offset
What is malloc and calloc?
How the c program is executed?
What are the types of bitwise operator?
What are compound statements?
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); }
What does stand for?
Why is python slower than c?
Explain the use of bit fieild.