How many bytes does long and short data type reserve?
sizeof (long) and sizeof (short)
often 4 or 8 for long, and 2 for short
How do you convert radians into degree in c language?
You can multiply the number of radians by 180/pi.
Why is the constructor of the Stack Linked List class empty?
The default constructor of a stack is empty because the default value of any container, including a linked list, is an empty container which requires no arguments (all members default to zero).
List the configuration options available for updating the OS?
Viruses and Worms can be difficult to remove from a computer. Software tools are required to remove viruses and repair the computer code that the virus has modified. These software tools are provided by the operating system manufacturers and security software companies. Make sure that you download the tools from a legitimate website.
There are a few ways to go about doing this. For beginners. Create a restore point in case of a problem with the update. Check the updates to ensure that you have the latest ones. Download the updates using Automatic Updates or from the Operating System manufacturers website. INSTALL the update. Restart if required, but you shouldn't need to.
How do you implement smtp using udp in C programming with free software platform?
SMTP uses TCP, not UDP.
Role of instruction pointer in 8086?
Its role is to point to the next instruction to be executed in the CPU. It always points to the next instruction to be executed in the CPU
What kinds of crafting supplies can be found at Loop?
Loop offers a wide variety of crafting supplies for any hobbyist. They sell yarn and knitting supplies which have come from all around the world. They also offer books and patterns for one to follow and make.
C program to print prime numbers?
class primenoSeries
{
void main ()
{
int i = 1; // Used to divide number and check if they are factors or not.
int C = 0; // used as a counter for number of factors.
int n = 1; // Represent the numbers.
while (n > 0)
{
if ( n % i n )
{
C = 0;
n++ ;
i = 1;
}// Check next number since previous number had more than two factors.
else
{
i++ ;
}
}
else
i++ ;
}
}
}
A c program to find maximum number in a 3 by 3 matrix?
int matrix[][]; // the matrix to find the max in
int max = matrix[0][0];
int r,c;
for(r = 0; r < 3; ++r) {
for(c = 0; c < 3; ++c) {
if(matrix[r][c] > max) {
max = matrix[r][c];
}
}
}
// max is now the maximum number in matrix
How do you get segmented base and offset when you have logical address?
You cannot. The conversion goes this way:
segment+offset -> [segment-table] -> linear_address -> [page-table] -> physical_address
PS: In most cases there is only one (4GB long) segment (or one code-segment and one data-segment), so offset is quite the same as linear address
What is the difference between static function and global static function?
'global static'?! There is no such thing.
Assuming that the input has already been put into an int[] array, the function to remove duplicates will operate as follows. The function will create an output array that will accept each first unique int of the input array. A comparator will compare each following cell, ignoring duplicates until the end of the array is reached. The output array will then be printed.
As it stands (because the rest of the expression may be missing) the evaluation to the constant value of -3 will be the result.
Can you tell me a C program to find if the strings are equal using pointers?
It is called strcmp, part of the standard run-time library. Returns 0 if the two strings are equals, non-zero otherwise.
How do you display 15 numbers in an ascending order using an array?
Sort the array then traverse the array, printing the element values as you go.
Does every algorithm have a c program?
Yes. More generally, every algorithm (defined as a sequence of finite steps to solve a problem that can be easily understood by a human) can be converted into machine code such that the algorithm can be understood by a machine. The C programming language is just one such method of converting algorithms into working machine code.
What are derived data types in the C language?
You seem to have lost your text book so I am giving you a link where you can study data types, including derived data types.
Which is an example of a PLSQL subprogram?
A PL/SQL subprogram is equivalent to a procedure or function in conventional procedural programming.
Prone to it - NO.
Do these parts, brakes and suspension/steering need maintenance and repair..sure.
Domain name and ip addressess are technically same?
Domain name is a name of a group of systems, while IP Address is the Identification for each systems. So they are not technically same.