Why is this loop always executing once?
No Answer is Posted For this Question
Be the First to Post Answer
Write the program that calculates and prints the average of several integers. Assume that the last value read is sentinel 9999.
On most computers additional memory that is accessed through an adapter of feature card along with a device driver program. a) user memory b) conventional memory c) expandedmemory d) area
Can you define which header file to include at compile time?
Explain how are portions of a program disabled in demo versions?
can we declare a function in side the structure?
what is the advantage of software development
what is foreign key in c language?
#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 a program?
.main() { char *p = "hello world!"; p[0] = 'H'; printf("%s",p); }
What is the difference between array and structure in c?
Struct(s) { int a; long b; } Union (u) {int a; long b; } Print sizeof(s)and sizeof(u) if sizeof(int)=4 and sizeof(long)=4