What are valid operations on pointers?
No Answer is Posted For this Question
Be the First to Post Answer
To what value do nonglobal variables default? 1) auto 2) register 3) static
If null and 0 are equivalent as null pointer constants, which should I use?
Why do we need a structure?
write a program to sort the elements in a given array in c language
How to get string length of given string in c?
c program to manipulate x=1+3+5+...+n using recursion
Write a program to know whether the input number is an armstrong number.
Explain what are bus errors, memory faults, and core dumps?
write a function that accepts an integer/char array and an search item.If the search item is there in the array return position of array and value else return -1.without using other array,without sorting,not to use more than one loop?
#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?
What does double pointer mean in c?
Describe wild pointers in c?