How to write a program to show the counter that counts 1000000 in a second?
You need to know how long a loop of 1000000 takes to execute. If it executes in an appropriate fraction of a second, you can provide a sub-loop or no-op instructions to make up the difference. If it does not, you can not.
What is difference between fundamental and derived data types?
The simple is that fundamental quantities can be changed its not constant always and derived Quantities is like to constant always it could not be change ever.
Why array does not store the data permnantly?
Arrays, just as normal variables, store information in RAM memory. When power is turned off, the contents of RAM memory get lost. For permanent storage, you'll have to write information to a file, or access a database.
What sort of service does Play N Trade provide to its users?
Play N Trade is a company that offer to buy customers used video games and console via the mail. Ratings of this site are mixed as they sometimes seem to offer very low prices for people trade ins.
How to write a C program to find repetitions of letters in a string?
"in order to check the repetition of characters in a string in c" we have to pick up each element of the string using a for loop and then using its ASCII value check whether another character of the same ASCII value exists using an if condition statement.
What is the requirement of an array?
The two main requirements of an array are:
* Its size should be specified while declaration. This size cannot change.
* It can contain only homogeneous elements as its values. i.e., for example an array can contain either all int values or all char values etc. It cannot take values of different data types
Why is a class known as composite data type?
A class is known as a composite data type because it binds both member variable and functions as a single identity.
Java Native Interface
JNI is an interface between java and applications and libraries written in other languages.
As an example, JNI enables Java programs to use C libraries and also enables C programs to use Java classes.
Sample program on LISP and c program?
Bigloo, chicken or gambit are just designed for that: mixing c and scheme (a dialect of lisp):
You easily mix both language in a same program, il you want in the same source file, then it get compile in c
Best of both world!
Flowchart means pictorial representing of an algorithm.
integer
string
Write a program to find the grade obtained by the students of a class using structure?
Write a program to find the grade obtained by the students of a class
Macro
What is the set of all values that a function can take as inputs of the function?
That would be the domain.
bool isBigger (float a, float b) { return a > b;}
An address, or part of an address, can fulfil all these requirements, especially if you use the American # before the street or building number as your special character. Hope this helps.
Which type of data is the number of employees in Walmart store in Hutchinson Kansas?
The type of data that would probably best describe the number of employees of a single store might be an unsigned byte (from 0 to 255). Generally, you want to plan for future expansion, however, so you might want to designate the type as an unsigned short int (0 to 65535).
Why binary search algorithm did not work on an unsorted array?
The binary search algorithm works by successively halving the array and determining which half the result lies in, or if the half-way point is the result. In order for that to work, the array must be in order, otherwise choosing the half-way point would be meaningless because it would not tell you which half of the array the result is located in.
What is the operation of delete in stack?
Delete is mostly commonly known as pop in stack. The last element inserted into the stack is removed from the stack. Here is an illustration:
Consider the stack with the elements 1,2,3,4 inserted in order.
1->2->3->4
\
top
The top of the stack will be pointing to 4. When pop operation is performed, 4 is removed from the stack and the top is made to point to 3. The stack then becomes:
1->2->3
\
top