Why we use int main and void main?
No Answer is Posted For this Question
Be the First to Post Answer
How is = symbol different from == symbol in c programming?
#include<stdio.h> #include<conio.h> void main() { int m=0111,n=20; printf("%d%d\n",m,n); getch(); }
How can I read data from data files with particular formats?
Write a C program where input is: "My name is xyz". output is: "xyz is name My".
Why can't we initialise member variable of a strucutre
Write a code to generate a series where the next element is the sum of last k terms.
What does emoji p mean?
How to find the given no is odd or even without checking of any condition and loops. (Hint: Using array)
Why can't I perform arithmetic on a void* pointer?
Can a program have two main functions?
#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?
can we write a program in c for printf and scanf without using header file stdio.h