Connect c language to internet database?
Yes, you can write a program in C language which connects to a database.
Absolutely. Just as it is impossible to write irrational fractions such as 1/3 in decimal form other than by approximation (such as 0.33 or 0.3333), binary notation has the same problem. When working with floating point values, there's always the chance we'll introduce tiny errors through rounding. We can allocate more memory to improve accuracy, but we must impose limits because memory is a finite resource. Thus all floating point values are an approximation.
Can local variables be passed between subroutines?
If this is a homework assignment, please consider trying it yourself first, otherwise the value of the reinforcement to the lesson offered by the homework will be lost on you.
Since C and C++ pass parameters by value, local variables can be passed between functions (subroutines).
If you intend to pass them by reference, i.e. by passing their address, you must ensure that they do not go out of scope while the called function runs, otherwise the called function might reference memory that is no longer valid.
How do you write a program on bcd addtion?
The first thing to remember is that a BCD digit is only 4 bits (a nibble).
Secondly BCD is a base 10 system so the largest number for each digit is 9 but a nibble can have a value of up to 15.
Thirdly, after each addition the resulting value has to be normalized. Here is the rule. If the resulting value is grater than 9, subtract 10 and also carry 1.
Programming this is your job.
What steps are necessary to build an algorithms?
the number of steps of an algorithm will be countable and finite.
What is putch in C programming?
It puts a character out on the stdout file, usually the screen but stdout can be redirected. An example of stdout redirection is a web server, the stdout of a cgi program issent via the network to the client computer and not the servers monitor.
What is the meaning of 0x10000000 in embedded C programming using LPC2129?
The meaning is entirely dependent upon the data the value actually represents. As an unsigned integer, 0x10000000 represents the value 128. As a signed integer it would represent -127 on a ones-complement system and -128 on a twos-complement system. Regardless of its value, the meaning depends on what that value is supposed to represent. It could be an index into an array, a character code, a memory address, an instruction, or indeed anything the programmer desires it to mean. Ultimately it is just a binary representation for some piece of information that is stored digitally. We (humans) can interpret it as a number, but to the computer it is nothing more than a binary code. What that code represents is entirely open to interpretation.
How do you differentiate a floppy drive data and IDE type data?
Not possible, the same data can be stored both on floppy and HDD.
Download free ebook o f let us c solutions by yashwant kanetkar?
It's a c language that's developed by Denis Ritchie in 1972.
What is machine language instructions 8b00ac?
It depends on the processor. In the 8086/8088, it means
MOV AX,[BX+SI]
LODSB
In the 8085 it means
ADC E
NOP
XRA H
Neither snippet makes any sense, so it must be from some other processor.
Provided both matrices are mutable, two matrices A and B can be swapped like any other two items: create temporary storage to store a copy of A, then assign B to A, and finally assign the temporary copy of the previous version of A to B.
Note that in the C programming language, matrices cannot be assigned to each as such. One implementation of this algorithm might operate on the basis of references (pointers), and can thus swap two matrix references by swapping two pointers in the manner detailed above. Implementations wishing to actually transfer the data held in one matrix to another would use a library function such as memcpy() to transfer data.
What is multidimentional array?
Arrays having more than one dimension is known as multi-dimensional arrays. Multi-dimensional arrays is also known as arrays-of-arrays.
Can you plot a graph using C graphics?
C has no native support for graphics. You would either have to use your local APIs or use an external library (ex: OpenGL).
Why in data structure queue called FIFO?
First in, first out.
Because the first element entered is the first element exited. Ex: Similar to air ticketing Queue
Write a program to calculate the area of a cylinder using a function?
give an example of calculation of mathematics
What declaration should be used to use variable as recursive?
Variables in C are not recursive. Functions are recursive.
Note that for functions to be truly recursive, they must only use arguments passed to them or automatic storage allocated from the stack. If they use other storage, they must implement a method of properly allocating and deallocating recursion instance variables. The classic example of a recursive function is the factorial function...
int factorial (int n) { if (n <= 2) return n; else return n * factorial (n-1); }
Data structures may have references to other elements of the same type, you might call this recursion - its also called self-referential structures. Example:
typedef struct TreeNode {
} TreeNode;
What is the probability that two students in a class could write very similar c programs?
I would say that the probability of two students in the same class writing very similar C programs is very high. The majority of programs written when learning are somewhat simplistic which cuts down the number of different ways you can code them. Also, as they're being taught how to do things, the differences are narrowed further by them being more likely to implement those taught methods.
Do you need SQL server and c plus plus to develop Visual Studio apps?
No, you don't need VC++. VC++ is often the language of choice when programming for Windows platforms (Microsoft use it in-house for all major software developements, including Windows itself), but it is not the only version of C++ capable of producing Windows programs and is by no means the cheapest. It also comes up short with regards C++ standards compliance.
What is included in signal.h header file of C language?
Constants, typedefs, function prototypes. If you want to know more, load it into a text editor.
What is the cardinality of a data type eg integer?
Cardinality is the total number of unique occurances of an entity (e.g. person, organization, or transaction) that can be included in a relationship. A URI/URL, e-mail, phone number should be unique, providing a high cardinality. This means that each of the entity values would be represented at least once in a relationship. A lower cardinality value would be something like a bit, or boolean value. This value will only occur twice before becoming redundant in a relationship. So a data type value of an integer could be either low or high, depending on what the data is used for. If the values are only 0-6, then there are only 6 occurances of the data, if the field is open to the full range of data then it would be of extremely high cardinality.