What is the purpose of sprintf() function?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

main() { unsigned int k = 987 , i = 0; char trans[10]; do { trans[i++] =(char) (k%16 > 9 ? k%16 - 10 + 'a' : '\0' ); } while(k /= 16); printf("%s\n", trans); }

4 Answers   Vector,


When should the register modifier be used? Does it really help?

0 Answers  


How to find the digits truncation when assigning the interger variable to the character variables. like int i=500; char x = i : here we have truncation. how to find this. another ex: i =100; char x=i. here we do not have truncation.

1 Answers   HCL,


how to go with this?

1 Answers   Wipro,


What is the process to generate random numbers in c programming language?

0 Answers  


What are local static variables? How can you use them?

0 Answers  


what is the main use of c where it can use the c

2 Answers   Infosys,


please can any one suggest me best useful video tutorials on c i am science graduate.please help me.u can email me to sas29@in.com

0 Answers  


with out using main how to execute the program?

2 Answers  


What is meant by high-order and low-order bytes?

0 Answers  


What functions are used in dynamic memory allocation in c?

0 Answers  


in b=6.6/a+(2*a+(3*c)/a*d)/(2/n); which operation will be performed first a) 6.6/a b) 2*a c) 3*c d) 2/n

1 Answers  


Categories