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 / subbu[iit kgp]

if it is assumed that there is a semicolon after the
function prototype declaration of show(), then answer is A.

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is cohesion and coupling in c?

1035


What Is The Difference Between Null And Void Pointer?

1259


Describe the difference between = and == symbols in c programming?

1379


I have written a pro*C program to fetch data from the cursor. where in i have used the concept of BULK FETCH.... each FETCH statement is taking lots of time to fetch specified number of rows at...

10204


how much salary u want ? why u join in our company? your domain is core sector why u prefer software ?

1990


how is the examination pattern?

2022


What are the disadvantages of external storage class?

1062


develop algorithms to add polynomials (i) in one variable

2169


int far *near * p; means

3561


What are the data types present in c?

1164


How can a process change an environment variable in its caller?

1190


What is the difference between text and binary modes?

1197


What is the difference between ā€˜g’ and ā€œgā€ in C?

4012


What are the back slash character constants or escape sequence charactersavailable in c?

1184


Why should I prototype a function?

1201