What is an evaluation purpose only program?
I means that you are not supposed to use it for any other purpose except for deciding if the program will do what you want.
It is like test driving a car.
What is the meaning of statement missing in function main in c language?
Every C program must have a function, named main(), which is where the program starts execution. If there is no function main(), the computer does not know where to start running the program. The function main() must also do something; if it is just empty, some smarter compilers will note that there is nothing for the program to do, and will give this sort of error message to indicate that you forgot to tell the program what to do.
Algorithm for transpose of matrix?
transpose(Matrix mat,int rows, int cols ){ //construction step Matrix tmat; for(int i=0;i<rows;i++){ for(int j=0;j<cols;j++){ tmat[j][i] = mat[i][j]; } } }
How do you draw a perfect number flowchart?
it has a simple formula that is 2^m-1, there r 30 known perfect no so by giving m the values i m giving to u,will give u perfect numbers that r m: 2, 3, 5, 7, 13, 17, 19, 31, 61, 89, 107, 127, 521, 607, 1279, 2203, 2281, 3217, 4253, 4423, 9689, 9941, 11213, 19937, 21701, 23209, 44497, 86243, 132049, and 216091.
When can you add or subtract coefficients?
You can add and subtract coefficients when they occur in like terms, which means they have the same variable.
2x + 3x = 5x (This addition can take place because all of the variables are x, and are therefore like terms.)
and
5y - 2y = 3y (This subtraction can take place because all of the variables are y, and are therefore like terms.)
However, if the variables differ, they are unlike terms, and you cannot add or subtract the coefficients. For example:
2a + 3b cannot be added because a and b are different variables, and therefore unlike terms.
3c - 2d cannot occur because c and d are different variables, and therefore unlike terms..
How do you write a palindrome program in c in Wikipedia?
You don't have to write palindrome programs in wikipedia.
Which procedure is used to convert a string representation of a number into its binary value?
The first step is to use a function to convert the number (integer, floating point or otherwise) into a string. The next step is to convert each character within that string to its binary equivalent.
Converting an unsigned char to binary will require the use of bitwise operators, specifically &, << and >>. There are plenty of code snippets on the Web that show you how to accomplish this task, however it might be worth your while to work it out on paper first and then write the code.
The best recommendation at this point is to explore bitwise operators in C and understand how binary math works. You'll likely find many uses for this knowledge in the future.
How do you open a svd file saved on a disc?
To open a SVD file saved on a disc, double click on it. If the file doesn't open, you need a software application for SVD file extensions.
How do you find prime no in C programming?
program to find C programming
#include<stdio.h>
#include<conio.h>
void main()
{
int i,a,b;
printf("Enter a number:");
scanf("%d",&a);
if(a==1)
{
printf("It is not a prime number");
}
else if(a==2a==3)
{
printf("It is a pime number");
}
else
{
b=0;
for(i=2;i<=a/2;i++)
{
if(a%i==0)
{
b=1;
}
}
if(b==1)
{
printf("It is not a prime number");
}
else
{
printf("It is a prime number");
}
}
getch();
}
details bout ur OS n stuff????????????
If a program compiles and links successfully then there can be no compiler errors, period. Your error is a runtime error because the error only occurs when the machine code is executed, not during the compilation or linking processes. Runtime error 32 indicates a sharing violation. This essentially means you've attempted to access a file that is being used by another process.
How do you find the greatest number of mondays that may occur in any 45-day interval?
Start with Monday as the first day, and count. This will give the maximum number of Mondays possible. The answer turns out to be 7, with a couple of days of wiggle-room. I just now realized that I mis-read the question. You are not asking for the maximum number, but in fact the smallest: the greatest number that can appear in any 45 day period. So the answer is actually 6, not 7. There can be no fewer than 6 Mondays in any interval of 45 days.
How do i Perform the following matrix row operation and write new matrix?
Insufficient information has been supplied to enable a satisfactory answer to this question to be provided.
Does c sharp work on c or c plus plus compilers or you need a c sharp compiler?
They are different languages, each of them requires its own compiler.
In other way Character array is called strings.A group of characters can stored in a character array. e.g. char name[] ={'S','A','T','Y','A','\0'};
0's and 1s is Low-level programming language?
it is called binary code and this is the lowest level programming language you can track it by looking at a switch or a register in memory
How do you build a Floyd's triangle in C?
1
2 3
4 5 6
7 8 9 10
11 12 13 14 15
Check out printf and make the above output.
What are the different data structure used in pass 1 assembler?
chupa lao jinu answer chahida ithe vaje ............kam kar koi nahi te search maran lag jande.............
What are the list of modifier in turbo c language?
%c The character format specifier.
%d The integer format specifier.
%i The integer format specifier (same as %d).
%f The floating-point format specifier.
%e The scientific notation format specifier.
%E The scientific notation format specifier.
%g Uses %f or %e, whichever result is shorter.
%G Uses %f or %E, whichever result is shorter.
%o The unsigned octal format specifier.
%s The string format specifier.
%u The unsigned integer format specifier.
%x The unsigned hexadecimal format specifier.
%X The unsigned hexadecimal format specifier.
%p Displays the corresponding argument that is a pointer.
%n Records the number of characters written so far.
%% Outputs a percent sign.
Provided that 'modifier' means 'format specifier'.
Difference between composition and inheritance?
The 'is a' relationship is expressed with inheritance and 'has a' relationship is expressed with composition. Both
inheritance and composition allow you to place sub-objects inside your new class. Two of the main techniques for
code reuse are class inheritance and object composition.
Inheritance [ is a ] Vs Composition [ has a ]
Building
Bathroom
House
class Building{
.......
}
class House extends Building{
.........
}
is a [House is a Building]
class House {
Bathroom room = new Bathroom() ;
....
public void getTotMirrors(){
room.getNoMirrors();
....
}
}
is a has a [House has a Bathroom]
has a
Inheritance is uni-directional. For example House is a Building. But Building is not a House. Inheritance uses
extends key word. Composition: is used when House has a Bathroom. It is incorrect to say House is a
Java - Fundamentals
19
Bathroom. Composition simply means using instance variables that refer to other objects. The class House will
have an instance variable, which refers to a Bathroom object.
Is C plus plus an application program?
No. C++ is a computer language. The development system supporting it is a compiler, linker, editor, debugger, etc.
No it is a programming language.