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

If "AaBbCc" is passed to the char

char x(*a)
{
a[0]?x(a+1):1;
printf("%c",a[0]);
return 1;
}
what will be the output?

Answer Posted / vint

char x(char *a) // Argument Pointer declaration was missing
{
a[0]?x(a+1):1;
printf("%c",a[0]);
return 1;
}

Output: cCbBaA

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the different types of objects used in c?

1032


How many bytes are occupied by near, far and huge pointers (dos)?

1158


What are the advantages of using new operator as compared to the function malloc ()?

1350


What does sizeof return c?

1064


What is a constant?

1063


What is the difference between far and near ?

1196


What does d mean?

1093


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

1018


What is bubble sort technique in c?

982


Why isnt there a numbered, multi-level break statement to break out

1052


What are the differences between new and malloc in C?

1150


how to count no of words,characters,lines in a paragraph.

4430


how do you write a function that takes a variable number of arguments? What is the prototype of printf () function?

1938


What is the purpose of the preprocessor directive error?

1274


What is structure of c program?

1168