Hi,
this won't work in windows->Visual Studio environment. which platform you are working on?
regards,
Kumaran.
"Senthil." <[EMAIL PROTECTED]> wrote:
Hi friends plz help me to solve this ....how the below program works for char and int without being declared with types inside the structure but it does not work for float (ie %f program terminates!!) also this is not allowed outside structure why ??#include<stdio.h>
#include<conio.h>
struct a
{
s;
r;
}b;void main()
{
clrscr();
b.s= '1' ;
b.r=2;
printf("%c",b.s);
printf("%d",b.r);
getch();
}pls send reply soon...with regards,senthil
Do you Yahoo!?
Yahoo! Mail - Easier than ever with enhanced search. Learn more.
To unsubscribe : [EMAIL PROTECTED]
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
To unsubscribe : [EMAIL PROTECTED]
| Yahoo! Groups Sponsor | |
|
|
Yahoo! Groups Links
- To reply to this message, go to:
http://groups.yahoo.com/group/Programmers-Town/post?act=reply&messageNum=4826
Please do not reply to this message via email. (more info)
- To visit your group on the web, go to:
http://groups.yahoo.com/group/Programmers-Town/
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
