void main()
{
int x=100,y=3;
//lets calculate x to the power of y now
int result=0,i,j,a=x;
for(i=0;i<(y-1);i++)
{
for(j=0;j<x;j++)
result=result+a;
a=result;
result=0;
}
printf("%d",a);
}
The new operator instantiates a named object of a given type while the delete operator destroys an object. The new operator invokes the object's default constructor unless directed to invoke a specific constructor. The delete operator always invokes the object's destructor.
Not possible. Let's not forget than in C the followings are all operators:+, -+=, -=++, --=&, *, []function-call
Built-in functions are functions that are provided for you by the standard includes. User-defined functions are those that you write yourself. Third-party functions are those that are written for you, but that are not provided by the standard includes.
which function is support by an application program
the main() function,the#include Directive, the variable definition. function prototype, program statements, the function definition,program comments and braces are the components of program in C++
Operator precedence in embedded C is exactly the same as in standard C.
use a program or the normal error function table :p
The new operator instantiates a named object of a given type while the delete operator destroys an object. The new operator invokes the object's default constructor unless directed to invoke a specific constructor. The delete operator always invokes the object's destructor.
give an example of calculation of mathematics
A function is a piece of code that has no or more arguments, that returns no or one value. A program is code that implements the function int main(int argc, char** argv). As such, a function and a program are the same, but the program also includes compiler directives to "include" other things, such as standard headers, i.e. #include .
If you mean the function keys on the keyboard, they don't have a standard definition. The usage of the keys depends on the specific program. F1 is usually standardized as the help key; the other keys depend on the program you are using.
Not possible. Let's not forget than in C the followings are all operators:+, -+=, -=++, --=&, *, []function-call
Use the tolower() function in the C standard library.
To implement a timer in Fortran to measure the execution time of your program, you can use the SYSTEMCLOCK function. This function returns the current processor time, which can be used to calculate the elapsed time. You can call SYSTEMCLOCK before and after the code segment you want to measure, and then calculate the difference to determine the execution time.
Built-in functions are functions that are provided for you by the standard includes. User-defined functions are those that you write yourself. Third-party functions are those that are written for you, but that are not provided by the standard includes.
which function is support by an application program
the main() function,the#include Directive, the variable definition. function prototype, program statements, the function definition,program comments and braces are the components of program in C++