What is void main () in c?
No Answer is Posted For this Question
Be the First to Post Answer
Is there a built-in function in C that can be used for sorting data?
Write a c pgm for leap year
11 Answers College School Exams Tests, IBM, TCS,
can we initialize all the members of union?
c pgm count no of lines , blanks, tabs in a para(File concept)
who is the father of c
Why can arithmetic operations not be performed on void pointers?
how many keywords do C compile?
7 Answers Microsoft, Practical Viva Questions,
the factorial of non-negative integer n is written n! and is defined as follows: n!=n*(n-1)*(n-2)........1(for values of n greater than or equal to 1 and n!=1(for n=0) Perform the following 1.write a c program that reads a non-negative integer and computes and prints its factorial. 2. write a C program that estimates the value of the mathematical constant e by using the formula: e=1+1/!+1/2!+1/3!+.... 3. write a c program the computes the value ex by using the formula ex=1+x/1!+xsquare/2!+xcube/3!+....
#include<stdio.h> #include<conio.h> # define swap(a,b) temp=a; a=b; b=temp; void main( ) { int i, j, temp; i=5; j=10; temp=0; if( i > j) swap( i, j ); printf( "%d %d %d", i, j, temp); }
What are the differences between Structures and Arrays?
What is the mean of function?
how to convert an char array to decimal array