Did c have any year 2000 problems?
No Answer is Posted For this Question
Be the First to Post Answer
What is the difference between array and pointer in c?
Write a program to generate prime factors of a given integer?
What is the purpose of 'register' keyword in c language?
program to find the ASCII value of a number
How are variables declared in c?
What is structure pointer in c?
what is a NULL pointer?
How many levels of pointers can you have?
What is the process to generate random numbers in c programming language?
what is event driven software and what is procedural driven software?
#include<stdio.h> int SumElement(int *,int); void main(void) { int x[10]; int i=10; for(;i;) { i--; *(x+i)=i; } printf("%d",SumElement(x,10)); } int SumElement(int array[],int size) { int i=0; float sum=0; for(;i<size;i++) sum+=array[i]; return sum; } output?
which of 'arrays' or 'pointers' are faster?