What are pointers? Why are they used?
No Answer is Posted For this Question
Be the First to Post Answer
#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 is difference between array,strutter,union and pointers
3 Answers CTS, Lovely Professional University, Mannar Company,
How is = symbol different from == symbol in c programming?
Why ca not I do something like this?
What does the c in ctime mean?
what is Array?
What are local and global variables?
What is the difference between single charater constant and string constant?
Describe the header file and its usage in c programming?
Is there something we can do in C but not in C++? Declare variable names that are keywords in C++ but not C.
Write programs for String Reversal & Palindrome check
main() { int i=0; while(+(+i--)!=0) i-=i++; printf("%d",i); }