Answered by:
please send me output of given programme;

Question
-
#include<stdio.h>#include<conio.h>void main(){struct book{char name;float price; int pages;};struct book b1={'B',130.00,550};printf("address of name is %u\n",&b1.name);printf("address of price is %u\n",&b1.price);printf("address of pages is %u",&b1.pages);getch();}
- Moved by litdev Saturday, November 30, 2019 2:58 PM
Thursday, November 28, 2019 6:18 AM
Answers
-
I would ask here:
https://social.msdn.microsoft.com/Forums/vstudio/en-US/home?category=vslanguages
Richard Mueller - MVP Enterprise Mobility (Identity and Access)
- Proposed as answer by Dave PatrickMVP Sunday, December 1, 2019 7:38 PM
- Marked as answer by Richard MuellerMVP Monday, December 9, 2019 1:38 PM
Sunday, December 1, 2019 6:22 PM -
Also try asking for help over here.
Regards, Dave Patrick ....
Microsoft Certified Professional
Microsoft MVP [Windows Server] Datacenter Management
Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.- Proposed as answer by Richard MuellerMVP Friday, December 6, 2019 3:18 PM
- Marked as answer by Richard MuellerMVP Monday, December 9, 2019 1:38 PM
Sunday, December 1, 2019 7:38 PM
All replies
-
This is not Small Basic. You should look for another forum dedicated to you programming language.
Jan [ WhTurner ] The Netherlands
Thursday, November 28, 2019 10:36 AM -
I would ask here:
https://social.msdn.microsoft.com/Forums/vstudio/en-US/home?category=vslanguages
Richard Mueller - MVP Enterprise Mobility (Identity and Access)
- Proposed as answer by Dave PatrickMVP Sunday, December 1, 2019 7:38 PM
- Marked as answer by Richard MuellerMVP Monday, December 9, 2019 1:38 PM
Sunday, December 1, 2019 6:22 PM -
Also try asking for help over here.
Regards, Dave Patrick ....
Microsoft Certified Professional
Microsoft MVP [Windows Server] Datacenter Management
Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.- Proposed as answer by Richard MuellerMVP Friday, December 6, 2019 3:18 PM
- Marked as answer by Richard MuellerMVP Monday, December 9, 2019 1:38 PM
Sunday, December 1, 2019 7:38 PM -
Looks like C++ to me.
For every expert, there is an equal and opposite expert. - Becker's Law
My blog
My TechNet articlesSunday, December 1, 2019 8:59 PM -
Then perhaps ask here:
https://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=vcgeneral
https://forums.asp.net/37.aspx/1?C+
Richard Mueller - MVP Enterprise Mobility (Identity and Access)
- Proposed as answer by Richard MuellerMVP Friday, December 6, 2019 3:18 PM
Sunday, December 1, 2019 9:06 PM -
Look at your question: https://social.msdn.microsoft.com/Forums/en-US/2c9e866d-e0e1-42b5-8deb-771b4d45c40d/see-outputwhy-this-is-happening-here-is-output-entet-names-prices-and-no-of-pages-of-3-books?forum=whatforum
Regards, Guido
By the way: To printf a pointer address, use %p and cast to void* .
printf("address of name is %p\n",(void*)(&b1.name));
- Edited by Guido Franzke Monday, December 2, 2019 7:37 AM
Monday, December 2, 2019 7:34 AM