Is it fine to write void main () or main () in c?


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

Post New Answer

More C Interview Questions

How can I invoke another program from within a C program?

8 Answers  


how many key words availabel in c a) 28 b) 31 c) 32

0 Answers  


Write a C/C++ program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the maximum number of concurrent threads that the InnoDB plug-in can create.

0 Answers   IBM,


main() { char as[] = "\\0\0"; int i = 0; do{ switch( as[i++]) {case '\\' : printf("A"); break; case 0 : printf("B"); break; default : printf("C"); break; }} while(i<3); }

4 Answers   Vector, Vector India,


can we declare a function inside the structure? ex: struct book { int pages; float price; int library(int,float); }b; is the above declaration correct? as it has function declaration?

2 Answers  






code for copying two strings with out strcpy() function.

6 Answers  


how can i write a program that prints out a box such that whenever i press any key8(coordinate number) on the keyboard, the box moves.

0 Answers  


what is different between auto and local static? why should we use local static?

0 Answers  


Explain the concept and use of type void.

0 Answers  


consider the following program sigment int n,sum=1; switch(n) { case 2:sum=sum+2; case 3:sum*=2; break; default:sum=0;} if n=2, what is the value of sum a.0 b.6 c.3 d.none

7 Answers   TCS,


process by which one bit patten in to another by bit wise operation is? (a) masking, (b) pruning, (c) biting, (d) chopping,

0 Answers   InterGraph,


What is the difference between GETS();AND SCANF();

4 Answers   TCS,


Categories