What do you mean by function to pointer?
the network path to a destination
AnswerTraceroute ( or Tracert )is a comp network tool used to determine the route taken by packets across the IP network.Tracert is a tool which is used on Microsoft window Operating system, while traceroute tool is available on particular Unix-like OS....
Tracert n Traceroute are same in functionality bt having differt names in different Operating sys.
What is the while loop in C programming?
"while" is an entry controlled loop statement i.e the condition is evaluated first and if it is true the body of the loop is evaluated.This process is repeated until the test condition is false;then the control is transfered out of the loop.
The general form of while is as following
syntax:
while (<condition>)
{
<statements>;
}
Why would your laptop run slowly?
Program data must be accessed from the hard drive and copied into memory, which can take a long time for large programs.
Windows tends to become more resource-intensive with every release, so unless you have cutting-edge hardware it may be slow.
What is a example of figurtive language?
the wind tippy toed across the sky to dance with the clouds-personification;giving something nonhuman human qualities my feet were ice cubes that have just been frozen-metaphor;renaming something;comparing something not using like or as my arm was burning as if i had just dumped it into lava-simile;comparing something using like or as her arms were as long as Mt. everest-hyperbole;an extreme exaggeration
What is controlled buffer register?
it is very simple.... there are two parameters clear and load.. when clr is high(1) all the outputs becme zero and when clr is low(0) ff's are ready to work.. now load controls d ckt.. when load is lw and loadbar is high the output of the or gate depends on q0 q1 and q2... nw when the positive edge of clk pulse arise the data is circulated or retained i.e., register conents remain the same.. when load is high and loadbar is low the output of or gate depends on x0 x1 and x2.. nw when positive edge of clk pulse arise x bits reach the ff's and x bits are stored so that q0 q1 q2 = x0 x1 x2.. see the diagram for 3-bit contrlled buffer register and u will understand it.. hope it was useful :)
How do you find the minimum value of an array in c language?
Your best bet would probably be to iterate through the array using a for loop and compare each value to the current low and high values (which you would store in a local variable)
for example:
for each element in array
{
if current is less than lowest_value
lowest_value = current
else if current is greater than highest_value
highest_value = current
}
Write a program to accept any three numbers and find the smallest number by if statement?
#include<stdio.h>
main()
{
char ch;
printf("\n enter any number:");
scanf("%c",&ch);
if(ch>=65&&ch<=90)
printf("\n upper case aphabet");
else if(ch>=97&&ch<=122)
printf("\n lower case alphabet)
else if(h>=48&&ch<=57)
printf("\n numeric char");
else
printf("\n special char");
}
What is function in C plus plus programming language?
Functions are short procedures or subroutines that can be called as and when required. Unlike goto statements, which branch off to a labelled section of code never to return, functions always return back to the caller. Functions may also call other functions. Functions are typically used to reduce the amount of duplicate code, producing more consistent and error-free code and reducing maintenance whenever functions need to be modified. Functions are also used to make code more readable by replacing complex or compound statements with a simpler function call. By using easy to understand function names, code becomes self-documenting, reducing the need to include verbose comments that only serve to interrupt the flow of the code.
Although there is a performance penalty in calling functions as opposed to inline code, the compiler's optimisation routines can inline expand functions whenever there is an advantage in doing so. Typically this applies to short functions with one or two simple statements, but can also apply to functions that are seldom called.
Functions may also return a value back to the caller (a function that does not return a value simply returns void). Functions can modify their behaviour according to arguments supplied to the function. The number and type of arguments is dependant upon the function signature. The signature also differentiates between functions with the same name, thus allowing functions to be overloaded to cater for different arguments types.
If the argument types are references (or pointers), the function can modify the arguments passed to it unless the arguments are declared const. Passing by reference also allows functions to return more than one value to the caller (typically the return value itself is used to provide diagnostics, such as an error code).
If the arguments are passed by value, however, the function creates a local copy of the argument, thus preventing changes to the argument that was actually passed. If the argument being passed is an object, the object's copy constructor is called automatically. Since this can be detrimental to performance, objects should always be passed by reference unless the function actually needs to work on a copy of the object rather than the original object.
In C++, classes make use of functions, known as member methods, to provide the implementation of operations that may be applied to an object's data. Classes may also employ virtual functions that allow derived objects to provide more specialised implementations whilst retaining the existing generic code. This also helps to reduce duplicate code, but also allows objects to behave polymorphically. That is, it is not necessary for a generic class to know any of the implementation details of its derivatives. You simply call the generic method of the base class and the virtual table redirects the call to the most-specialised override of that function, if one exists. If not, the generic method is called instead. Classes can also make use of pure-virtual functions, such that the base class need not provide any generic implementation at all. These classes are abstract classes which cannot be instantiated by themselves. Instead, you are expected to derive new classes from abstract classes, and the derived classes must provide the implementation even if the base class provides a generic implementation. Only classes that provide or inherit a complete implementation of all pure-virtual methods can actually be instantiated.
They can be. It really depends on the type and complexity of the game. However, the hardest part of writing any game is simply in coming up with an original concept that will engage players. Once you have that, writing the actual code is easy.
What are examples of first generation programming languages?
The only example of a first generation language is machine code, the native language of the machine. Every type of machine has its own variant of machine code specific to that machine's architecture.
What is storage claases in c language?
storage classes is important part of c language.WHENEVER we define any function in c program then we can call that in every definend class.
there are four types of storage class. these are...
1 AUTO OR AUTOMATIC STORAGE CLASS
2 REGISTER STORAGE CLASS
3 STATIC STORAGE CLASS
4 EXTERNALSTORAGE CLASS
1) The features of "AUTOMETIC" storage class are as under some conditions:
storage : storage will be in memory.
value : garbage value.
scope : scope is local to block to the variable.
life : till, controls remain within the block.
2) The featurs of "STATIC" storage class are as under some conditions:
storage : memory.
value : zero.
scope : local to block.
life : Till control remains within the block.
3) The featurs of "REGISTER" storage class are as under some conditions:
storage : register.
value : garbage value.
scope : local to the block.
life : value persists between variable.
4) The feature of "EXTERNAL" storage class are as under some conditions:
storage : memory.
value : zero.
scope : local to block.
life : till controls remains within the block.
What is the use of 'pragma' in C language?
The #pragma directive is a compiler specific instruction. There are many things you can tell the compiler. For instance, the #pragma pack n directive tells the compiler to override the /Zpn command line argument and to use a new default structure packing value. To see all of the possible #pragma directives, go to online help, and index by #pragma directives, C/C++. You probably only need to type in #pra and then click on C/C++ to get this far.
Which computer language uses mnemonics to write computer programs?
In a sense they all do, but you are probably thinking of Assembly languages (where the term "mnemonic" is used explicitly for the identifiers used to stand for instruction opcodes, register numbers, etc.
Note: there is no single Assembly language, every modern computer architecture has at least one Assembly language specific to its unique instruction set.
Check BIOS settings, make sure that the adapter is enabled. Check that the cable is not damaged and working properly. If you have burned the port. You can get a PCI extension port with Network Interface Port.
What is Notation in Algorithm?
hi i am ravi kashyap my email id kashyap.ravi77@gmail.com
notations used to define the effiency of
An algorithm?
what means
Subroutine is an instruction sequence in a machine or assembly language program that can be prewritten and referred to as often as needed. Subroutine is used for controlling thing e.g. traffic lights burglar alarms they all use subroutine
How does the Java programming language work?
Java uses a code-compiler, which does not create a machine-code, like normal Windows programs, but a byte-code, which the Java interpreter runs. It is like a mini-operating system, forming a layer between the operating system and the program code. This way, you can run Java programs on almost any platform. Main drawback is, that Java is slower than other languages. Consider using an other, platform dependent solution, if cross platform compatibility is not needed.
What is the answer to...Convert the binary number 10110101110112 to the equivalent decimal number?
The break down of 101101 = 100000 + 1000 + 100 + 1
100000(2) = 32(10)
1000(2) = 8(10)
100(2) = 4(10)
1(2) = 1(10)
32 + 8 + 4 + 1 = 45
What is the relation between a thread and a process?
Threads exist within the same process; they can share memory and take less time to perform a "context switch;" they are part of the same program running in parallel processing units. Threads each have their own dedicated memory, and a shared memory area. Processes are entirely partitioned units of executing code. They cannot directly share memory with each other without assistance from the operating system, and are protected from each other by the operating system (in most modern operating systems, that is). They require more time to perform a context switch, as the entire task must be swapped out of the CPU instead of just the thread stack.
Example problem using nested if statement in C programming?
if (i<0) if (j<0) printf ("i<0 and j<0");
else printf ("What's now? Where this else belongs to? It's i>=0 or i<0 and j>=0?");
The answer is:
if (i<0) if (j<0) printf ("i<0 and j<0");
else printf ("i<0 and j>=0");
Of course you can use brackets:
if (i<0) {
if (j<0) printf ("i<0 and j<0");
else printf ("i<0 and j>=0");
}
or
if (i<0) {
if (j<0) printf ("i<0 and j<0");
} else printf ("i>=0");
Explain what the term 'data' means?
Data, in the Scientific Method, means a record of the progress of your experiment. Data is whatever you observe about your experiment that may or may not change during the time of the experiment.
yes
Who developed QBASIC programming language?
The 2 professors who developed QBACIS were Jhon G.Kemeny and Thomas E.Kurtz.