How can I write functions that take a variable number of arguments?
No Answer is Posted For this Question
Be the First to Post Answer
What are dangling pointers?
how to swap two nubers by using a function with pointers?
#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?
application attempts to perform an operation?
What is the meaning of typedef struct in c?
a<<1 is equivalent to a) multiplying by 2 b) dividing by 2 c) adding 2 d)none of the above
What is #line in c?
void main(){ int a; a=1; while(a-->=1) while(a-->=0); printf("%d",a); }
Why c is a procedural language?
program for following output using for loop? 1 2 2 3 3 3 4 4 4 4 5 5 5 5 5
the question is that what you have been doing all these periods (one year gap)
How does the C program handle segmentation faults?