Can a program have two main functions?


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

Post New Answer

More C Interview Questions

If I want to initialize the array like. int a[5] = {0}; then it gives me all element 0. but if i give int a[5] = {5}; then 5 0 0 0 0 is ans. what will I do for all element 5 5 5 5 5 in a single statement???

3 Answers   Amdocs, IBM,


i have a written test for microland please give me test pattern

0 Answers   Microland,


Given an array of characters which form a sentence of words, give an efficient algorithm to reverse the order of the words (not characters) in it?

3 Answers  


write a c program thal will find all sequences of length N that produce the sum is Zero, print all possible solutions?

0 Answers   Wipro,


what is pointer ?

10 Answers   Kernex Micro Systems,


formula to convert 2500mmh2o into m3/hr

0 Answers  


Write a program to print fibonacci series without using recursion?

0 Answers  


Tell me when would you use a pointer to a function?

0 Answers  


What are the disadvantages of external storage class?

0 Answers  


Explain what does the format %10.2 mean when included in a printf statement?

0 Answers  


What is the output of below code? main() { static int a=5; printf("%3d",a--); if(a) main(); }

1 Answers  


List a few unconditional control statement in c.

0 Answers  


Categories