Main must be written as
a.the first function in the program
b.Second function in the program
c.Last function in the program
d.any where in the program

Answer Posted / sudipta panja

(d)--execution starts from main,i.e. compiler starts
compiling from main but the posn of main is not fixed.it can
be anywhere.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are register variables in c?

577


Write a program to produce the following output: 1 2 3 4 5 6 7 8 9 10

15058


#include { printf("Hello"); } how compile time affects when we add additional header file .

1430


Write a Program to find whether the given number or string is palindrome.

618


Can math operations be performed on a void pointer?

593






What is file in c language?

583


Why cant I open a file by its explicit path?

598


Are there constructors in c?

600


Difference between Shallow copy and Deep copy?

1576


Why header files are used?

650


a way in which a pointer stores the address of a pointer which stores the value of the target value a) reference b) allocation c) multiple indirection d) none

634


How do you construct an increment statement or decrement statement in C?

747


Write a C program on Centralized OLTP, Decentralized OLTP using locking mechanism, Semaphore using locking mechanism, Shared memory, message queues, channel of communication, sockets and a simple program on Saving bank application program using OLTP in IPC?

2177


Which is more efficient, a switch statement or an if else chain?

585


In c programming write a program that will print 10 multiples of 3 except 15,18,21 using looping

983