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.

0 Endorsements
~408 People Reached
Favorite Forums
Favorite Tags
c x 5
c++ x 2
Member Avatar for awi123

Hi i just wanted to ask whether we cud use #include<string> and declare a data type called 'string' eg. string ch;? and where is "using namespace std" used?

Member Avatar for Ancient Dragon
0
83
Member Avatar for sambafriends

[code=c] main( ) { int i=10,j=20; printf("%d%d",&i,&j); return 0; } [/code] When i executing this code: I got the address values like -12, -10, -20 Is it the address are in negative values or I am doing a mistake in the program. please give the solution it's urgent.

Member Avatar for awi123
0
110
Member Avatar for awi123

program to display 10 multiples of a number [code=c] #include<stdio.h> main() { int m,n,o; m=5; for(n=0;n<11;n=n+1) o=m*n; printf("Multiples are %d",o); }[/code]

Member Avatar for Aia
0
107
Member Avatar for awi123

the program asks to calculate the power of a number, for eg. if 2 is entered as the base and 3 is th power it should display 8.

Member Avatar for lich
0
106