- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
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 |
|
Re:
[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 * … |
|
"I am a boy\r\n" if this string is readed through using fgets in an array what will get readed |
|
Re:
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 … |
|
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 |
|
|
|
|
|
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] |
|