Write a program to copy the contents of one file to another?
#include<stdio.h>
#include<conio.h>
int main(int x,char *a[])
{
FILE *fp1,*fp2;
fp1=fopen("input.txt","r");
fp2=fopen("output.txt","w");
while(!(feof(fp1)))
{
fputc(fgetc(fp1),fp2);
}
fclose(fp1);
fclose(fp2);
return 0;
}
What is the difference between a procedural language and declarative language?
Procedural is nothing but just using procedures to instrct te machine. The procedures provides a level of abstraction here.
Declarative means to program without specifying the steps involved clearly. It allows us not give the control flow.
ex - SQL is declarative as it does not need the control flow to be implemented.
SQL is also procedural as it works on procedure names that are predefined.
What is the maximum allowable segment length on a 1000base t newwork?
The range is effectively unlimited because multiple active components can extend the range to nearly any range.
How many byte is equal to 1kb?
To begin, a KB, is the abbreviation of the word Kilobyte. A byte is a basic unit of measurement of information storage in computer science. Kilo is a prefix in the SI system of units denoting 103, or 1,000. That being said, 1KB can be reffered to as being equal to 1,000 bytes. However, the exact amount is 1,024 bytes.
How do you change net framework from 1.1 to 2.0?
Version 2.0 added and changed many things including:
* Full support for both the x64 and IA64 platforms * Support for generic types * Anonymous methods * Partial classes 2.0 also added the first version of the .NET Micro Framework.
What is hierarchical network model?
A kind of database management system that links
records together like a family tree such that each record type
has only one owner, e.g. an order is owned by only one
customer. Hierarchical structures were widely used in the
first mainframe database management systems. However, due
to their restrictions, they often cannot be used to relate
structures that exist in the real world.
Difference between byval and byref in net?
we can pass parameter in procedure and function two type one is Byval and other is byRef, in byval value Store in stack And byref store in Heap. in a Byval get value a predefind and userdefind by replica and copy of the value. but in byRef program access address of the Variable we can pass parameter in procedure and function two type one is Byval and other is byRef, in byval value Store in stack And byref store in Heap. in a Byval get value a predefind and userdefind by replica and copy of the value. but in byRef program access address of the Variable
What is the latest version download for net framework?
Current version of the NET Framework is NET Framework 4 .
What is difference between .net and .net framework?
The .NET framework is the layer which is installed on an Operating system (like windows) which holds everything you need to run a .NET application. It contains the libraries which provide functionality to, for example, open files, read xml, and so on. The .NET framework also includes the compilers for the various .NET languages. Like 'csc.exe' (C# compiler). This gives you the opportunity to write .NET applications, compile them and run them with only the .NET framework installed. Much like java does when you install the jvm (java virtual machine). However, you would have to use a simple text editor, like notepad, which wouldn't help you much by making the code you write prone to mistakes. This is where visual studio comes in. VS.NET needs the .NET framework. VS.NET won't function without it. Whenever you install VS, the install procedure will also install the .NET framework. VS.NET makes it much easier to create applications on the .NET framework by generating source code when you i.e. build a windows or web form. Also it makes compiling against the aformentioned compiler much easier. Note however that VS.NET uses the compiler (like the csc.exe) on the background while compiling. You could say that VS.NET is a very fancy notepad for creating .NET applications in any way, shape or form.
You need to download a separate search engine to access it I currently have tor you should get that..
Who invented the dot net programming language?
.Net is less a programming language and more of a framework for developing applications. Any language that can be build to target the CLR (Common Language Runtime) can be considered a "dot net" language. Examples include C#, VB.Net, IronRuby, IronPython, and F#. One of the more popular languages, C#, was heavily influenced by Microsoft's Anders Hejlsberg, who was one of the original inventors of the Borland language Delphi.
In Dropdown list, you can see one item at a time only. If you are asking how to limit the number of drop down rows to 10, you can't. The ASP .NET DropDownList renders as an HTML Select and it displays all items when the dropdown button is clicked.
However, if you are talking about list box then ,
Increase or Decrease the height of the listbox so that it shows more or less items...
Use stylesheets...
Why do we need conceptual framework?
Conceptual Framework is a structure of objective and ideas. With conceptual framework, it is easy to determine how profit should be measured and number of standards, principles and emphasis are reduced.
What is the difference between dot net and php?
Liprat Consulting offers Basic and Advanced PHP Training course in Noida. Our Faculties have more then 5 to 10 year industrial experience.Our Placements Records is Excellent till now.We also provide Career Consulting & Guidelines for our students. Call us for any query at 9958153868
What is the difference between net profit and net income?
Net Profit and Net Income are interchangeable terms.
I think all the taxes are include in Income. and in net profit means no any tax.
Ex.,. my income is 100 rs and my net profit is 90..10 rs deduct in tax.
I don't agree with you.
Definition 1
In business, what remains after subtracting all the costs(namely, business, depreciation, interest, and taxes) from a company's revenues. Net income is sometimes called the bottom line. also called earnings or net profit.
Definition 2
For an individual, gross income minus taxes, allowances, and deductions. An individual's net income is used to determine how much income tax is owed.
Definition
Often referred to as the bottom line, net profit is calculated by subtracting a company's total expensesfrom total revenue, thus showing what the company has earned (or lost) in a given period of time (usually one year). also called net income or net earnings.
In an Income statement / Profit or loss account, net profit is calculated after deducting tax (go through any annual report of an organization).
(source: Investorwords.com)
How net write a program to identify whether a character entered by a user is a vowel or constant?
in semi-pseudo code:
get character
//convert uppercase letter to lowercase letter
if( 65 <= (int) character <= 90)
character ^ 32
//check that a letter was given
if( 97 <= (int) character <= 122)
{
switch(character)
{
case a:
case e:
case i:
case o:
case u:
output "vowel"
break;
case y:
output "consonant and/or vowel"
break;
default:
output "consonant"
break;
}
}
else
output "not a letter"
a very small twist of flax,wool,cotton, silk or other fibrous substance, drawn out to considerable length; a compound cord consisting of two or more single yarns doubled, or joined together, and twisted.