What is the use of ?: Operator?
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?
Why header file is used in c?
What is the use of a conditional inclusion statement in C?
I heard that you have to include stdio.h before calling printf. Why?
What is a static function in c?
write a program to check whether a number is Peterson or not.
Why do we use stdio h and conio h?
What is a memory leak? How to avoid it?
How can draw a box in cprogram without using graphics.h header file & using only one printf(); ?
Are bit fields portable?
Is c weakly typed?
Write a program to find the smallest and largest element in a given array in c language