How to find the aerry size
Answer / vijith
#include <stdio.h>
int ArraySize(int array[])
{
int i = 0;
while(array[i] != NULL) i++;
return i;
}
int main(void)
{
int count;
int intarray[10];
for(count = 0;count<=10; ++count)
{
intarray[count] = count;
}
printf("\nintegers in intarray[10] == %d\n",
ArraySize(intarray) );
return 0;
}
| Is This Answer Correct ? | 4 Yes | 1 No |
what is the work of 1tier,2tier,&ntier? Plz Explain it!
in cobol,wat is the difference in using 'set index in occurs clause' ....and 'occurs depending-on clause'
Diff between Proc transpose and Arrays with example?
I would like to know what is Intellimatch and some interview questions which could be asked related to Intellimatch.
Write a program which inputs 2 integers representing the sides of a triangle, a and b. Next, write a function which accepts the 2 sides as parameters and returns the hypotenuse of the triangle, c. Use c 2 = a 2 + b 2 To raise a number to an exponent, us e the built - in JavaScript function Math.pow() Let’s say you have a variable x and you want to raise it to the 5 th power, use Math.pow in the following manner... Math.pow( x, 5 ); This will raise x to the 5 th power. To find the square root of a number, use t he built - in JavaScript function Math.sqrt () So to find the square root of x, use Math.pow () in the following manner... Math.sqrt( x ) You must create 2 functions to receive credit for this assignment. Your ‘ main ’ function which is called from the button. And your hypotenuse function. Again, the main function calls upon the hypotenuse f unction when it needs that value. Get the user ’ s input, call the function, output your result. Create your own CSS layout
What is the difference between an EXE and a DLL?
3 Answers ABC, Hykin Solutions, Infoedge, Infosys, Polaris,
What is the difference between procedure -oriented language and object oriented language?
22 Answers IBM, Infosys, TCS,
difference between list and display command ?
what is the use MDM(Master Data Management)and meaning
In java without use of main() how to execute the program
what is the difference between an OS(operating system) and Framework?
3.Give the formula for determine the range of the data type?