freelanceprogrammers.org Forum Index » C
some basic c questions
Joined: 19 Jan 2005
Posts: 1
some basic c questions
Please send answers to the following questions asap.
1. How can u find the word lenght of a operating system using a c program.
2. How can u generate a random no with out using random function in c
3. Tell me three ways of declaring constants in c
4. What is the difference beteween for loop and while loop..
If both are same then why do we need it..
5. Why function definations in side another functions are not allowed in c .. as most of the other languages support it.
Regards,
Nagendra
Joined: 20 Jan 2005
Posts: 1
some basic c questions
hi,
this is jatin here
the answer to your 3rd question is
for loop is your all declarations and checking in one line while you
have to declare before ,increment or decrement in the loop itself.
furthur, for loop as a programming tool in some situations take less
time to execute than while loop.
--- In Programmers-Town@yahoogroups.com, "Nagendra Reddy"
<dnagendrareddy@r...> wrote:
> Please send answers to the following questions asap.
>
>
> 1. How can u find the word lenght of a operating system using a c
program.
> 2. How can u generate a random no with out using random function
in c
> 3. Tell me three ways of declaring constants in c
> 4. What is the difference beteween for loop and while loop..
> If both are same then why do we need it..
> 5. Why function definations in side another functions are not
allowed in c .. as most of the other languages support it.
>
>
>
>
> Regards,
> Nagendra
All times are GMT
Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Freelace Website Designer - Customer web design and software building.
China Wholesale - Electronics Products
Character Studio - Tutorials and Help
China Wholesale - Electronics Products
Character Studio - Tutorials and Help







