answersLogoWhite

0

system.exit o

User Avatar

Wiki User

15y ago

What else can I help you with?

Related Questions

Sample program of single-dimentional array?

#include "stdio.h" #define SIZE 100; void main() { int array[SIZE], i, size; printf("\nEnter the Size off Array :- "); scanf("%d", &size); printf("\nEnter the Elements of Array :- ")' for(i = 0; i < size; i++) scanf("%d", &array[i]; printf("\nThe Elements of entered Array :- "); for(i = 0; i < size; i++) printf("%7d", array[i]); }


How do you use in array?

cod a program student degree array in c language


C program for storage representation of 2-D array?

Wright a 'C' program for storage representation of 2-D array.


Program to count the number of numbers in an array using 8085 microprocessor?

A program which is used to count the number of numbers in an array using a 8085 microprocessor is known as a assembly language program.


Program to print all the even numbers of an array in visual basic?

find even number in array


Explain the design and application of arrays and how an array simplifies program development?

I need an example of a real-world array


How do you write a C Program to fill up an Integer Array?

Reference:cprogramming-bd.com/c_page1.aspx# array programming


Write a c program to find the maximum value of 25 element in an array?

int findMax(int *array) { int max = array[0]; for(int i = 1; i < array.length(); i++) { if(array[i] > max) max = array[i] } return max; }


Write a c program to reverse an array without using another array?

public static int[] reverseArray(int[] array) { int i = 0, j = array.length - 1; for (i = 0; i < array.length / 2; i++, j--) { int temp = array[i]; array[i] = array[j]; array[j] = temp; } return array; }


Program to search elements in array?

linear search array for key and return index of firstoccurrence.intfindInteger(int array[], int asize, int key) {int* p = array;while (asize-- && *p != key)++p;return p - array;}


Program in c to delete an element in sorted array?

You cannot delete elements from an array. But you can move the elements: if (del_index < no_of_elements-1) { memmove (&array [del_index], &array [del_index+1], sizeof (array [0]) * (no_of_elements - del_index - 1)); } --no_of_elements;


How do you read one dimensional array of integers for highest integer?

Sample code is as follows: #include <stdio.h> void main() { int i = 0; int final_number = 0; int array[] = {-2,-6,2,4,1,6,8,20,-55}; for(i = 0; i < (sizeof(array)/sizeof(array[0])); i++) { if(array[i] > array[i + 1]) final_number = array[i]; } printf("%d", final_number); } Tried in MinGw: Output: 20