Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

~1K People Reached
Favorite Forums
Favorite Tags

10 Posted Topics

Member Avatar for shankarz

Look into this code: #include <stdio.h> main() { int p,n,r; float si; scanf("%d %d %d", &p, &n, &r); si=p*n*r/100; printf("SI = %f", si); } Output of this program is 100 100 100 SI = 169.00000 **and also this:** #include <stdio.h> main( ) { int p, n ; float r, si …

Member Avatar for Member #957352
0
165
Member Avatar for shankarz

The graphics.h header file is not running in turbo c++ 4.5, why? [CODE]#include<graphics.h> #include<conio.h> void main() { int gd=DETECT, gm; initgraph(&gd, &gm, "c:\\turboc3\\bgi " ); circle(200,100,150); getch(); closegraph(); } [/CODE] Please give me a link to download c-graphics tutorial?

Member Avatar for shabbaz_paras
0
131
Member Avatar for shankarz
Member Avatar for shankarz
Member Avatar for shankarz

[CODE]main() { char name[10],s[12]; scanf("\"%[^\"]\"",s); }[/CODE] How this scanf will scan?

Member Avatar for shankarz
0
111
Member Avatar for shankarz

[CODE]while((fgets(receiving array,50,file_ptr)!=EOF);[/CODE] How this while is executed?

Member Avatar for Ancient Dragon
0
93
Member Avatar for shankarz
Member Avatar for shankarz
Member Avatar for shankarz
Member Avatar for Banfa
0
211
Member Avatar for shankarz

Hi, every one know that scanf statement should use "&" ambers ion symbol, but why it is not used while getting a string. eg: main() { int a; char str[10]; scanf("%d",[COLOR="Red"]&[/COLOR]a); scanf("%s",str); -->why "&" sybbol is not used in getting string? }

Member Avatar for mehrab
0
272

The End.