retagged by
601 views

1 Answer

Related questions

5 votes
5 votes
4 answers
2
Arjun asked Apr 22, 2018
4,220 views
Consider the following C program:main() { float sum= 0.0, j=1.0,i=2.0; while(i/j>0.001){ j=j+1; sum=sum+i/j; printf("%f/n", sum); } }$0$ - $9$ lines of output$10$ - $19$ ...
5 votes
5 votes
2 answers
3
Arjun asked Apr 22, 2018
8,442 views
Consider the following program{ int x=1; printf("%d",(*char(char*)&x)); }Assuming required header files are included and if the machine in which this program is executed ...
5 votes
5 votes
3 answers
4
Arjun asked Apr 22, 2018
5,574 views
Consider the following declaration :structaddr { char city[10]; char street[30]; int pin; }; struct { char name[30]; int gender; struct addr locate; } person, *kd = &pers...