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...

Study the code:
void show()
main()
{
show();
}
void show (char *s)
{
printf("%sn",s);
}
What will happen if it is compiled & run on an ANSI C
Compiler?
A)It will compile & nothing will be printed when it is
executed
B)it will compile but not link
C)the compiler will generate an error
D)the compiler will generate a warning

Answer Posted / manjeet

The compiler will generate an error because the is no ";"
semicolon after the prototype declaration of show function

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between union and structure in c?

1183


why return type of main is not necessary in linux

2111


Is a house a shell structure?

1166


What are the types of type specifiers?

1046


Can main () be called recursively?

1125


Explain the process of converting a Tree into a Binary Tree.

2672


Explain output of printf("Hello World"-'A'+'B'); ?

1500


What is the method to save data in stack data structure type?

1092


can any one tel me wt is the question pattern for NIC exam

1990


Difference between Function to pointer and pointer to function

1089


Is it possible to execute code even after the program exits the main() function?

1345


Is it better to use a macro or a function?

1165


Explain how can I prevent another program from modifying part of a file that I am modifying?

1095


Why is it that not all header files are declared in every C program?

1226


What is meant by operator precedence?

1154