Why use int main instead of void main?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

simple program of graphics and their output display

0 Answers   Elysium,


what is the use of bitfields & where do we use them?

2 Answers  


Explain what is meant by high-order and low-order bytes?

0 Answers  


what are the stages of compilation

1 Answers   Bosch,


a linearly ordered set of data elements that have the same structure and whose order is preserved in storage by using sequential allocation a) circular b) ordinary c) array d) linear list

0 Answers  






#include<stdio.h> #include<conio.h> void main() { clrscr(); int a=0,b=0,c=0; printf("enter value of a,b"); scanf(" %d %d",a,b); c=a+b; printf("sum is %d",c); getch(); }

2 Answers  


What is sizeof array in c?

0 Answers  


Who developed c language and when?

0 Answers  


what is difference between array and structure?

44 Answers   College School Exams Tests, CTS, Google, HCL, IBM, Motorola, TCS,


what is array?

63 Answers   Amdocs, HCL,


What are the data types present in c?

0 Answers  


main() { int i,j,A; for(A=-1;A<=1;A++) prinf("%d\t",!!A); }

6 Answers  


Categories