Posts
 
Reputation
Joined
Last Seen
Ranked #3K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
50% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
2 Commented Posts
0 Endorsements
Ranked #4K
~2K People Reached
Favorite Forums
Favorite Tags
c x 13
Member Avatar for seemant_sun

i have a thorough knowledge C and a little bit of practice of C but i wanted to be a good C programer can anybody tell me how i can do it are ther any good books which can provide me good practice of C

Member Avatar for jephthah
1
108
Member Avatar for vikasnahar

[code=c] #include<iostream> using namespace std; int fact (int num); int main () { cout<<"Enter a number"<<endl; int number; cin>>number; cout<<"Displaying number: "<<number<<endl; cout<<"Calculating Factorial for the number"<<endl; int fact; fact = fact(number); return 0; } int fact (int num) { if(num==1) { return num; } else { return num * …

Member Avatar for seemant_sun
-1
103
Member Avatar for seemant_sun

"I am a boy\r\n" if this string is readed through using fgets in an array what will get readed

Member Avatar for seemant_sun
0
468
Member Avatar for animefun2

I have an array of integer of size 20 and there values range from 0-9 and i want atleast the value 0 placed in one location in the array once. how can i control rand() to be able to do that? cause there a possibility 1/10 will randomily generate 0 …

Member Avatar for seemant_sun
0
191
Member Avatar for seemant_sun

write a program to find size of a file without traversing it character by character? will anybody tell me the logic hw to approach it is there any trick involved

Member Avatar for Ancient Dragon
0
117
Member Avatar for seemant_sun
Member Avatar for Ancient Dragon
0
133
Member Avatar for seemant_sun
Member Avatar for ArkM
0
72
Member Avatar for seemant_sun

i am not geting the correct output can anybody help me whats the pmistake i have done [code=c] # include<stdio.h> # include<conio.h> void main() { int color; clrscr(); printf("enter any number"); scanf("%d",&color); if(color ==1) printf("violet"); if(color==2) printf("indigo"); if(color==4) printf("blue"); if(color==8) printf("green"); if(color==16) printf("yellow"); if(color==32) printf("orange"); if(color==64) printf("red"); getch(); } [/code]

Member Avatar for William Hemsworth
0
377
Member Avatar for seemant_sun
Member Avatar for jephthah
0
65