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

10. 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 / vaibhav

c)the compiler will generate an error

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain modulus operator. What are the restrictions of a modulus operator?

1061


Write a program to reverse a linked list in c.

1181


What is scope and lifetime of a variable in c?

1120


Explain the difference between malloc() and calloc() function?

1102


Why void main is used in c?

1104


Explain data types & how many data types supported by c?

1137


What are structure types in C?

1155


Why flag is used in c?

1181


List some basic data types in c?

1082


What are the various types of control structures in programming?

1106


Explain which of the following operators is incorrect and why? ( >=, <=, <>, ==)

1091


Explain what is a static function?

1160


Differentiate between #include<...> and #include '...'

1116


What is c mainly used for?

1120


What is meant by gets in c?

1266