Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

Answers were Sorted based on User's Feedback



Main must be written as a.the first function in the program b.Second function in the program ..

Answer / uma

ya its absolutely any where in the program

Is This Answer Correct ?    2 Yes 1 No

Main must be written as a.the first function in the program b.Second function in the program ..

Answer / ram basa

any where in the program

Is This Answer Correct ?    2 Yes 1 No

Main must be written as a.the first function in the program b.Second function in the program ..

Answer / iftekhar qurashi

last function in the program to avoid prototyping.
if we write it as a first function and other functions is declared after main(), then main function can't find it.

but it can be declared anywhere in the program when we declared every function except main() in the beginning of program

for other consultancy you can mail me

regards
iftekhar qurashi

Is This Answer Correct ?    1 Yes 0 No

Main must be written as a.the first function in the program b.Second function in the program ..

Answer / arava krishnaveni

any where in the program

Is This Answer Correct ?    1 Yes 0 No

Main must be written as a.the first function in the program b.Second function in the program ..

Answer / vishwanath g. desai

d. Any where in the program, because it is a top down
program ok I agree with that, actually the feature wise we
have to write the first but now the compiler agree with the
answer d. While the program execute means it execute the
first main().

Is This Answer Correct ?    0 Yes 1 No

Main must be written as a.the first function in the program b.Second function in the program ..

Answer / aarti giri

last function in the program

Is This Answer Correct ?    0 Yes 1 No

Main must be written as a.the first function in the program b.Second function in the program ..

Answer / katrina

main shouldnt be written in c programming but infact it is
main()

Is This Answer Correct ?    0 Yes 3 No

Main must be written as a.the first function in the program b.Second function in the program ..

Answer / mathan

a.the first functioon in the program

Is This Answer Correct ?    3 Yes 24 No

Main must be written as a.the first function in the program b.Second function in the program ..

Answer / jitender mahender

the first function in the program.

Is This Answer Correct ?    8 Yes 32 No

Post New Answer

More C Interview Questions

logic for generating all the combinations of the any number of given letters. ex::::::::: if a,b,c,d are given the o/p should be abcd,dcba,dbac,bcad,................ 4*3*2*1 combinations............

2 Answers   Infosys,


Write a C program to find the smallest of three integers, without using any of the comparision operators.

7 Answers   TCS,


6)swap(int x,y) { int temp; temp=x; x=y; y=temp; } main() { int x=2;y=3; swap(x,y); } after calling swap ,what are yhe values x&y?

3 Answers  


what is an ERP?

2 Answers   Infotech,


If the size of int data type is two bytes, what is the range of signed int data type?

0 Answers  


Is there any data type in c with variable size?

0 Answers  


How can you tell whether two strings are the same?

0 Answers  


main() { int a; a=++100; printf("%d",a); getch(); }

4 Answers  


write a program to check whether a given integer is a strong number or not? [Hint: 145=1!+4!+5! =1+24+120 =145]

7 Answers  


What are the two forms of #include directive?

0 Answers   Aspire, Infogain,


Is array name a pointer?

0 Answers  


Describe newline escape sequence with a sample program?

0 Answers  


Categories