program to find a smallest number in an array
Answer Posted / kalee
// Algorithm
Add the numbers directly into a set<double> varible, while getting the values from keyboard. First element of this set will be the least integer
This is a bad answer , if memory constraint is to be taken into account
| Is This Answer Correct ? | 4 Yes | 9 No |
Post New Answer View All Answers
In which header file is the null macro defined?
Does c have function or method?
What is the difference between c and python?
What is I ++ in c programming?
Explain how can I write functions that take a variable number of arguments?
What is the general form of #line preprocessor?
Explain how can I convert a number to a string?
Explain what is the benefit of using const for declaring constants?
How to write a code for implementing my own printf() and
scanf().... Please hep me in this... I need a guidance...
Can you give an coding for c... Please also explain about
the header files used other than #include
Write a C program linear.c that creates a sequence of
processes with a given length. By
sequence it is meant that each created process has exactly
one child.
Let's look at some example outputs for the program.
Here the entire process sequence consists of process 18181:
Sara@dell:~/OSSS$ ./linear 1
Creating process sequence of length 1.
18181 begins the sequence.
An example for a sequence of length three:
Sara@dell:~/OSSS$ ./linear 3
Creating process sequence of length 3.
18233 begins the sequence.
18234 is child of 18233
18235 is child of 18234
........ this is coad .... BUt i could not compleate it .....:(
#include
Are there namespaces in c?
Is c compiled or interpreted?
Explain what is the difference between #include and #include 'file' ?
A collection of functions,calls,subroutines or other data a) library b) header files c) set of files d) textfiles
how can f be used for both float and double arguments in printf? Are not they different types?