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

what is the diff between the printf and sprintf functions??
and what is the syntax for this two functions ??

Answer Posted / guest

printf statement print the result with comment
sprintf statement print the string
Syntax
printf(" ");
sprintf(object name[argument]);

Is This Answer Correct ?    7 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

The statement, int(*x[]) () what does in indicate?

1204


Explain what is the benefit of using const for declaring constants?

1087


What is a structure member in c?

1051


If the size of int data type is two bytes, what is the range of signed int data type?

1070


Explain what is the benefit of using #define to declare a constant?

1275


what are the different storage classes in c?

1233


What is a pointer in c?

1695


Are local variables initialized to zero by default in c?

1099


a sequence of bytes with one to one corrspondence to those in the external device a) sequential addressing b) address c) byte code d) none

1331


which of the following shows the correct hierarchy of arithmetic operations in C a) (), **, * or/,+ or - b) (),**,*,/,+,- c) (),**,/,*,+,- d) (),/ or *,- or +

1780


What is 1f in c?

2728


What is conio h in c?

1095


In C language, a variable name cannot contain?

1327


c programs are converted into machine language with the help of a) an interpreter b) a compiler c) an operatinf system d) none of the above

1320


program to find out date after adding 31 days to a date in the month of febraury also consider the leap year

3147